You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mythili Gopalakrishnan (JIRA)" <ji...@apache.org> on 2011/06/08 10:15:59 UTC
[jira] [Updated] (HIVE-2204) unable to get column names for a
specific table that has '_' as part of its table name
[ https://issues.apache.org/jira/browse/HIVE-2204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mythili Gopalakrishnan updated HIVE-2204:
-----------------------------------------
Description:
I have a table age_group and I am trying to get list of columns for this table name. As underscore and '%' have special meaning in table search pattern according to JDBC searchPattern string specification, I escape the '_' in my table name when I call getColumns for this single table. But HIVE does not return any columns. My call to getColumns is as follows
catalog <null>
schemaPattern "%"
tableNamePattern "age\_group"
columnNamePattern "%"
If I don't escape the '_' in my tableNamePattern, I am able to get the list of columns.
was:
I have a table age_group and I am trying to get list of columns for this table name. As underscore and '%' have special meaning in table search pattern according to JDBC searchPattern string specification, I escape the '_' in my table name when I call getColumns for this single table. But HIVE does not return any columns. My call to getColumns is as follows
catalog <null>
schemaPattern "%"
tableNamePattern age\_group
columnNamePattern "%"
If I don't escape the '_' in my tableNamePattern, I am able to get the list of columns.
Summary: unable to get column names for a specific table that has '_' as part of its table name (was: unable to get column names for a table that has '_' as part of its table name)
> unable to get column names for a specific table that has '_' as part of its table name
> --------------------------------------------------------------------------------------
>
> Key: HIVE-2204
> URL: https://issues.apache.org/jira/browse/HIVE-2204
> Project: Hive
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 0.8.0
> Reporter: Mythili Gopalakrishnan
>
> I have a table age_group and I am trying to get list of columns for this table name. As underscore and '%' have special meaning in table search pattern according to JDBC searchPattern string specification, I escape the '_' in my table name when I call getColumns for this single table. But HIVE does not return any columns. My call to getColumns is as follows
> catalog <null>
> schemaPattern "%"
> tableNamePattern "age\_group"
> columnNamePattern "%"
> If I don't escape the '_' in my tableNamePattern, I am able to get the list of columns.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira