Github user mbasmanova commented on the issue:

    https://github.com/apache/spark/pull/18421
  
    @wzhfy, @gatorsmile, I updated this PR to support partial partition specs 
where values are defined only for a subset of partition columns. For example, 
if table has 2 partition columns ds and hr, both PARTITION (ds='2010-01-01', 
hr=10) and PARTITION (hr=10) specs are valid. I did not provide support for 
partition specs where partition column is mentioned without any value. E.g. 
PARTITION (ds, hr=10) spec is still not allowed. I didn't implement this 
because I realized that I don't understand why this syntax is useful. My 
understanding is that (ds, hr=10) is equivalent to (hr=10). Do you think it is 
important to implement this syntax? If so, would you help me understand why? Is 
this because we want to support HQL at the same level as Hive to allow seamless 
transition from Hive to Spark?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to