LantaoJin opened a new pull request #29890:
URL: https://github.com/apache/spark/pull/29890


   ### What changes were proposed in this pull request?
   In `V2SessionCatalog.convertTransforms()`, partitions only match one bucket 
column by
   `case BucketTransform(numBuckets, FieldReference(Seq(col))) =>`
   It should be a bug since there is no comment to explain the reason.
   This PR accepts more than one bucket columns for V2 table.
   
   
   ### Why are the changes needed?
   Create a data source V2 table only accept one bucket column, two or more 
bucket columns in V2 table will show exception `SessionCatalog does not support 
partition transform ...`.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Add UT.
   


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



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

Reply via email to