ramitg254 commented on code in PR #6259:
URL: https://github.com/apache/hive/pull/6259#discussion_r2720784238
##########
ql/src/java/org/apache/hadoop/hive/ql/metadata/DummyPartition.java:
##########
@@ -80,8 +81,12 @@ public LinkedHashMap<String, String> getSpec() {
@Override
public List<String> getValues() {
+ Table table = this.getTable();
List<String> values = new ArrayList<String>();
- for (FieldSchema fs : this.getTable().getPartCols()) {
+ for (FieldSchema fs :
Review Comment:
when partition is available its fine I tried by adding a method
`getTablePartitionKeys` to both `DummyPartition.java` and `Partition.java`
which retrieves those keys and we can simply get that without if else but when
it is null, I need to fallback to previous one as now i need to get it from
table instead
which in turn leaving the original issue on standby
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]