xudong963 opened a new issue, #16277:
URL: https://github.com/apache/datafusion/issues/16277

   ```
   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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to