You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Use 'SELECT *' as an example query, modify as needed
-- For querying files directly
SELECT * FROM 'fs:///home/...';
SELECT * FROM 's3://bucket/...';
-- For querying from a stage
SELECT * FROM @stage;
-- For inferring schema from stage files
SELECT * FROM infer_schema(location => '@stage/...');
-- To achieve unified behavior, use the same method for both
SELECT * FROM infer_schema(location => 'fs:///home/...'); -- or other locations
Summary
We can query file by normal file paths or stage, such as:
However, we only can call
infer_schema
on stage files:We should unify the behavior.
The text was updated successfully, but these errors were encountered: