[
https://issues.apache.org/jira/browse/HIVE-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108011#comment-13108011
]
[email protected] commented on HIVE-2456:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1957/
-----------------------------------------------------------
Review request for hive.
Summary
-------
JDBCStatsAggregator first aggregates stats from all publishers, and then delete
these intermediate results. The delete is using LIKE operator, so it needs to
escape '_' and '%'.
This addresses bug HIVE-2456.
https://issues.apache.org/jira/browse/HIVE-2456
Diffs
-----
trunk/ql/src/java/org/apache/hadoop/hive/ql/stats/jdbc/JDBCStatsAggregator.java
1172720
trunk/ql/src/java/org/apache/hadoop/hive/ql/stats/jdbc/JDBCStatsUtils.java
1172720
Diff: https://reviews.apache.org/r/1957/diff
Testing
-------
Running unit tests.
Thanks,
Ning
> JDBCStatsAggregator DELETE STATEMENT should escape _ and %
> ----------------------------------------------------------
>
> Key: HIVE-2456
> URL: https://issues.apache.org/jira/browse/HIVE-2456
> Project: Hive
> Issue Type: Improvement
> Reporter: Ning Zhang
> Assignee: Ning Zhang
> Attachments: HIVE-2456.patch
>
>
> JDBCStatsAggregator first aggregates stats from all publishers, and then
> delete these intermediate results. The delete is using LIKE operator, so it
> needs to escape '_' and '%'.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira