-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
DataFusion CLI v48.0.0
> create table t1(a varchar, b char);
0 row(s) fetched.
Elapsed 0.009 seconds.
> show columns from t1;
+---------------+--------------+------------+-------------+-----------+-------------+
| table_catalog | table_schema | table_name | column_name | data_type | is_nullable |
+---------------+--------------+------------+-------------+-----------+-------------+
| datafusion | public | t1 | a | Utf8View | YES |
| datafusion | public | t1 | b | Utf8 | YES |
+---------------+--------------+------------+-------------+-----------+-------------+
2 row(s) fetched.
Elapsed 0.012 seconds.
Currently, map_varchar_to_utf8view is enabled by default, I noticed char will be mapped to Utf8 in nature, so if map_varchar_to_utf8view is true, should we also map char to Utf8View
FYI: I found the issue while upgrading DF48 for mv repo: https://github.com/datafusion-contrib/datafusion-materialized-views/pull/61/files#r2131717796
Metadata
Metadata
Assignees
Labels
No labels