[
https://issues.apache.org/jira/browse/HIVE-26000?focusedWorklogId=736839&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-736839
]
ASF GitHub Bot logged work on HIVE-26000:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 04/Mar/22 18:27
Start Date: 04/Mar/22 18:27
Worklog Time Spent: 10m
Work Description: nareshpr commented on pull request #3073:
URL: https://github.com/apache/hive/pull/3073#issuecomment-1059412819
Thanks for the review @zabetak. I verified the fix locally.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 736839)
Time Spent: 40m (was: 0.5h)
> DirectSQL to prune partitions fails with postgres backend for
> Skewed-Partition tables
> -------------------------------------------------------------------------------------
>
> Key: HIVE-26000
> URL: https://issues.apache.org/jira/browse/HIVE-26000
> Project: Hive
> Issue Type: Bug
> Reporter: Naresh P R
> Assignee: Naresh P R
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
>
>
> {code:java}
> 2022-03-02 20:37:56,421 INFO
> org.apache.hadoop.hive.metastore.PartFilterExprUtil: [pool-6-thread-200]:
> Unable to make the expression tree from expression string [((ds =
> '2008-04-08') and (UDFToDouble(hr) = 11.0D))]Error parsing partition filter;
> lexer error: null; exception NoViableAltException(24@[])
> 2022-03-02 20:37:56,593 WARN org.apache.hadoop.hive.metastore.ObjectStore:
> [pool-6-thread-200]: Falling back to ORM path due to direct SQL failure (this
> is not an error): Error executing SQL query "select
> "SKEWED_COL_VALUE_LOC_MAP"."SD_ID",
> "SKEWED_STRING_LIST_VALUES".STRING_LIST_ID,
> "SKEWED_COL_VALUE_LOC_MAP"."LOCATION",
> "SKEWED_STRING_LIST_VALUES"."STRING_LIST_VALUE" from
> "SKEWED_COL_VALUE_LOC_MAP" left outer join "SKEWED_STRING_LIST_VALUES" on
> "SKEWED_COL_VALUE_LOC_MAP"."STRING_LIST_ID_KID" =
> "SKEWED_STRING_LIST_VALUES"."STRING_LIST_ID" where
> "SKEWED_COL_VALUE_LOC_MAP"."SD_ID" in (51010) and
> "SKEWED_COL_VALUE_LOC_MAP"."STRING_LIST_ID_KID" is not null order by
> "SKEWED_COL_VALUE_LOC_MAP"."SD_ID" asc,
> "SKEWED_STRING_LIST_VALUES"."STRING_LIST_ID" asc,
> "SKEWED_STRING_LIST_VALUES"."INTEGER_IDX" asc". at
> org.datanucleus.api.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:543)
> at org.datanucleus.api.jdo.JDOQuery.executeInternal(JDOQuery.java:391) at
> org.datanucleus.api.jdo.JDOQuery.execute(JDOQuery.java:216) at
> org.apache.hadoop.hive.metastore.MetastoreDirectSqlUtils.loopJoinOrderedResult(MetastoreDirectSqlUtils.java:131)
> at
> org.apache.hadoop.hive.metastore.MetastoreDirectSqlUtils.loopJoinOrderedResult(MetastoreDirectSqlUtils.java:109)
> at
> org.apache.hadoop.hive.metastore.MetastoreDirectSqlUtils.setSkewedColLocationMaps(MetastoreDirectSqlUtils.java:414)
> at
> org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getPartitionsFromPartitionIds(MetaStoreDirectSql.java:967)
> at
> org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getPartitionsFromPartitionIds(MetaStoreDirectSql.java:788)
> at
> org.apache.hadoop.hive.metastore.MetaStoreDirectSql.access$300(MetaStoreDirectSql.java:117)
> at
> org.apache.hadoop.hive.metastore.MetaStoreDirectSql$1.run(MetaStoreDirectSql.java:530)
> at org.apache.hadoop.hive.metastore.Batchable.runBatched(Batchable.java:73)
> at
> org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getPartitionsViaSqlFilter(MetaStoreDirectSql.java:521)
> at
> org.apache.hadoop.hive.metastore.ObjectStore$10.getSqlResult(ObjectStore.java:3722);
> Caused by: ERROR: column SKEWED_STRING_LIST_VALUES.string_list_id does not
> exist
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)