[
https://issues.apache.org/jira/browse/HIVE-12976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129792#comment-15129792
]
Gopal V commented on HIVE-12976:
--------------------------------
[~sershe]: left comment on RB. I had to quick-fix my runs, not sure if it is
correct - but the patch itself was still dying on errors.
{code}
List<R> result = new ArrayList<R>(input.size());
+ for (int fromIndex = 0, toIndex = 0; fromIndex < toIndex && toIndex <
input.size(); fromIndex = toIndex) {
toIndex = Math.min(fromIndex + batchSize, input.size());
+ List<I> batchedInput = input.subList(fromIndex, toIndex);
{code}
> MetaStoreDirectSql doesn't batch IN lists in all cases
> ------------------------------------------------------
>
> Key: HIVE-12976
> URL: https://issues.apache.org/jira/browse/HIVE-12976
> Project: Hive
> Issue Type: Bug
> Reporter: Gopal V
> Assignee: Sergey Shelukhin
> Attachments: HIVE-12976.01.patch, HIVE-12976.patch
>
>
> That means that some RDBMS products with arbitrary limits cannot run these
> queries. I hope HBase metastore comes soon and delivers us from Oracle! For
> now, though, we have to fix this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)