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
To know the columns/types in a file, users has to create an external table, and describe the table.
Sometimes the infer schema is wrong for creating table, to make it right, user need to drop the table, and recreate a table with the specify schema.
To solve this problem, we add describe file interface in datafusion-clie, With the Describe File, user can know the infer schema is wrong before creating the table.
Syntax:
Describe file_path,
Example:
DESCRIBE 'tests/data/aggregate_simple_pipe.csv';
Return:
column_name data_type is_nullable
c1 Float32 NO
c2 Float64 NO
c3 Boolean NO
Signed-off-by: xyz <a997647204@gmail.com>
Signed-off-by: xyz <a997647204@gmail.com>
0 commit comments