CREATE FROM SELECT scenario fix : fix the flag in use for local (cache) file opening. Fix registration logic.