× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2014-03-25T20:11:55Z  · last modified 2014-04-01T22:33:47Z

SQL Exception in Schema Script Generator in Cloudera, as there are no indexes


Priority Low
Complexity Unknown
Component Hive
Version 14.0
Version: 14.0.10-2
Build #: 36815
Build Date: 2014-Mar-20 04:49:36 PM
 

SQL Exception in Schema Script Generator in Cloudera, as there are no indexes

To reproduce:

1. Create a new Cloudera Server and Connect using Cloudera by copying the cloudera jdbc drivers from the original distribution

2. Connect to a Cloudera Database with Tables.

3. Open Help > View Log. Select a database, right Click and use Tools-> Schema Script Generator.

4. Save as : Preview Tab

5. Select "Generate the CREATE" and hit next

5. You can see that the  script is generated successfully, but you get the below exception, since there are no indexes for Cloudera.

 

java.sql.SQLException: AnalysisException: Syntax error at:

SHOW INDEX ON `t99` FROM `tomtestagain`

     ^

Encountered: IDENTIFIER

Expected: DATABASES, SCHEMAS, TABLES

 

CAUSED BY: Exception: Syntax error

        at org.apache.hive.jdbc.Utils.verifySuccess(Utils.java:162)

        at org.apache.hive.jdbc.Utils.verifySuccessWithInfo(Utils.java:150)

        at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:196)

        at org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:262)

        at \\...\\ .\\हिñçêČάй語简??한\\.fꀃ⣨᠇̷.executeQuery(Unknown Source)

        at com.aquafold.aquacore.open.rdbms.drivers.hive.xꍫꑔꎜꃥ.executeQuery(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.fꀃ⣨᠇̷.executeQuery(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.bꆟꁽꈦꀋ finally.a(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.Lꑵᢖ⣹⣲.a(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.bꌀꋊᛜꏦ do 4.c(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.bꌀꋊᛜꏦ do 4.b(Unknown Source)

        at \\...\\ .\\हिñçêČάй語简??한\\.bꌀꋊᛜꏦ do 4.run(Unknown Source)

 

1 attachment

Issue #11857

Closed
Fixed
Resolved 2014-04-01T19:56:20Z
 
 
Completion
No due date
Fixed Build ADS 14.0.10-5
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017