You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Ning Zhang <nz...@fb.com> on 2011/09/19 19:17:28 UTC

Review Request: JDBCStatsAggregator DELETE STATEMENT should escape _ and %

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1954/
-----------------------------------------------------------

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 '%'.


Diffs
-----


Diff: https://reviews.apache.org/r/1954/diff


Testing
-------

running unit tests. 


Thanks,

Ning


Re: Review Request: JDBCStatsAggregator DELETE STATEMENT should escape _ and %

Posted by Ning Zhang <nz...@fb.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1954/
-----------------------------------------------------------

(Updated 2011-09-19 17:18:39.180498)


Review request for hive.


Changes
-------

escape '%' and '_' in DELETE statement


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


Diff: https://reviews.apache.org/r/1954/diff


Testing
-------

running unit tests. 


Thanks,

Ning