[
https://issues.apache.org/jira/browse/DRILL-5775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200898#comment-16200898
]
ASF GitHub Bot commented on DRILL-5775:
---------------------------------------
Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/973#discussion_r144124764
--- Diff:
contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseUtils.java
---
@@ -139,4 +142,26 @@ public static Filter orFilterAtIndex(Filter
currentFilter, int index, Filter new
return Bytes.compareTo(left, right) < 0 ? left : right;
}
+
+ /**
+ * Verify the presence of a column family in the schema path of the
hbase table or whether the schema path is
+ * the row key column.
+ *
+ * @param columns List of the selected columns
+ * @param hTableDesc HTableDescriptor of HBase/MapR-DB_binary table
(consists the details about that table)
+ * @throws DrillRuntimeException if column family does not exist, or is
not row_key column.
+ */
+ public static void verifyColumns(List<SchemaPath> columns,
HTableDescriptor hTableDesc) {
--- End diff --
As it turns out, this PR is introducing the very ambiguity that DRILL-5830
tried to remove from DRILL-5546. That is, we now have to separate ways to
expand the wildcard: this way and the project push down way. We need this
commit, so we'll accept this for now. But, moving forward, we should clear up
this ambiguity.
> Select * query on a maprdb binary table fails
> ---------------------------------------------
>
> Key: DRILL-5775
> URL: https://issues.apache.org/jira/browse/DRILL-5775
> Project: Apache Drill
> Issue Type: Bug
> Components: Storage - MapRDB
> Affects Versions: 1.11.0
> Reporter: Prasad Nagaraj Subramanya
> Assignee: Vitalii Diravka
> Labels: ready-to-commit
> Fix For: 1.12.0
>
>
> Select * query on a maprdb binary table fails with the below exception
> Failed with exception
> java.sql.SQLException: SYSTEM ERROR: IllegalArgumentException:
> HBaseRecordReader does not allow column *. Column * should have been
> converted to list of <row_key, column family1, column family2, ..., column
> family_n
> Commit ID - fde0a1df1734e0742b49aabdd28b02202ee2b044
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)