phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McAllister <>
Subject Re: sqlline error while creating table
Date Tue, 01 Sep 2015 21:26:24 GMT
I think you need a comma between your column definition and your constraint definition.

On Sep 1, 2015, at 2:54 PM, Serega Sheypak <<>>

Hi, I wrote itegration test that uses HBasetesting utility and phoenix. Test creates table
and inserts data. It works fine.
I'm trying to run

CREATE TABLE IF NOT EXISTS cross_id_attributes
   crossId        VARCHAR   NOT NULL
   CONSTRAINT cross_id_reference_pk  PRIMARY KEY (crossId)

agains production cluster using sqlline and it hungs. When I try to abort it, I see some exception
in console:

Exception in thread "SIGINT handler" java.lang.RuntimeException: java.sql.SQLFeatureNotSupportedException

               at sqlline.SunSignalHandler.handle(

  at sun.misc.Signal$


      Caused by: java.sql.SQLFeatureNotSupportedException

What it could be, what do I do wrong?

View raw message