drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Nigam (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4425) Handle blank column names in Hbase in CONVERT_FROM
Date Wed, 24 Feb 2016 06:58:18 GMT

    [ https://issues.apache.org/jira/browse/DRILL-4425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15160288#comment-15160288

Saurabh Nigam commented on DRILL-4425:

[~jaltekruse] Yes correct blank column name is not valid in SQL but in Hbase you can provide
any key value pair where your key could be blank too(By 'key' I mean column name for easy
understanding of Hbase concept).

I mistakenly create a blank column and now I cannot access it via Drill. Can't we use a wildcard
for replacing blank for Hbase queries.

Also Hbase may have blank column family name too. Check ":key" column in Hbase.

> Handle blank column names in Hbase in CONVERT_FROM
> --------------------------------------------------
>                 Key: DRILL-4425
>                 URL: https://issues.apache.org/jira/browse/DRILL-4425
>             Project: Apache Drill
>          Issue Type: New Feature
>          Components: Storage - HBase
>    Affects Versions: 1.3.0
>         Environment: Apache Drill 1.3 on HortonWorks HDP VM 2.1
>            Reporter: Saurabh Nigam
>            Priority: Minor
>              Labels: easyfix
> Hbase table may contain blank column names & blank column family names. Drill needs
to handle such situation.
> I faced the issue when I had a column with blank column name in my Hbase Table. To reproduce
it :
> -Create a column without any name in Hbase
> -Try to access it via Drill console
> -Try to use CONVERT_FROM function to convert that data from Base64 encoding to make it
readable. You wont be able to convert blank column because you cannot use blank in your query
after a dot.
> Something like  this
> SELECT CONVERT_FROM(students. , 'UTF8') AS zipcode 
>  FROM students;
> Where column name is blank
> We need to provide a placeholder for blank column names

This message was sent by Atlassian JIRA

View raw message