rdblue commented on issue #26929: [SPARK-30289][SQL] DSv2's partitioning should 
not accept nested columns
URL: https://github.com/apache/spark/pull/26929#issuecomment-574783581
 
 
   @dbtsai, Iceberg supports partitioning by fields in structs. We think of 
structs as a logical grouping of columns because values are still 1-to-1 with 
the row.
   
   Hive tables don't support partitioning by nested fields, which is why Hive 
tables should reject partition expressions that use nested fields. It's up to 
the catalog and table implementation to determine what is supported.
   
   The parser will recognize any multi-part identifier as a column in a 
partition expression. It will split on `.` and also supports back-ticks for 
quoting like normal column and table identifiers.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to