aokolnychyi commented on pull request #31580:
URL: https://github.com/apache/spark/pull/31580#issuecomment-780926411


   @HeartSaVioR, I think Spark should always pass an explicit null order to 
data sources. For example, `SortOrder` in the public expression API that is 
supposed to be passed to data sources always has a null ordering. Where this PR 
can be handy is if we want to support defining distribution or ordering in SQL 
statements (e.g. table creation). Then if the user just says `ASC`, we will 
parse it `SortDirection.ASC` and take the default null ordering.


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