dongjoon-hyun commented on issue #27902: [SPARK-31147][SQL] forbid CHAR type in 
non-Hive-Serde tables
URL: https://github.com/apache/spark/pull/27902#issuecomment-601829482
 
 
   This PR still bans `VARCHAR`. The failure comes from the following.
   ```
     test("self-join on a partitioned table should not trigger DPP") {
       withSQLConf(SQLConf.DYNAMIC_PARTITION_PRUNING_ENABLED.key -> "true",
         SQLConf.DYNAMIC_PARTITION_PRUNING_REUSE_BROADCAST_ONLY.key -> "false",
         SQLConf.EXCHANGE_REUSE_ENABLED.key -> "false") {
         withTable("fact") {
           sql(
             s"""
                |CREATE TABLE fact (
                |  col1 varchar(14), col2 bigint, col3 bigint, col4 
decimal(18,8), partCol1 varchar(1)
                |) USING $tableFormat PARTITIONED BY (partCol1)
           """.stripMargin)
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to