You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Mujtaba Chohan (JIRA)" <ji...@apache.org> on 2016/01/15 23:25:40 UTC
[jira] [Created] (PHOENIX-2603) ColumnAlreadyExistsException on
Phoenix connection
Mujtaba Chohan created PHOENIX-2603:
---------------------------------------
Summary: ColumnAlreadyExistsException on Phoenix connection
Key: PHOENIX-2603
URL: https://issues.apache.org/jira/browse/PHOENIX-2603
Project: Phoenix
Issue Type: Bug
Reporter: Mujtaba Chohan
Using latest [commit|https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=commit;h=ad91debaaac29aa6c52cea7c678c5f9c406bd99c]:
{code}
org.apache.phoenix.schema.ColumnAlreadyExistsException: ERROR 514 (42892): A duplicate column name was detected in the object definition or ALTER TABLE statement. columnName=SYSTEM.CATALOG.TRANSACTIONAL
at org.apache.phoenix.schema.MetaDataClient.addColumn(MetaDataClient.java:2835)
at org.apache.phoenix.jdbc.PhoenixStatement$ExecutableAddColumnStatement$1.execute(PhoenixStatement.java:974)
at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:335)
at org.apache.phoenix.jdbc.PhoenixStatement$2.call(PhoenixStatement.java:323)
at org.apache.phoenix.call.CallRunner.run(CallRunner.java:53)
at org.apache.phoenix.jdbc.PhoenixStatement.executeMutation(PhoenixStatement.java:321)
at org.apache.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1274)
at org.apache.phoenix.query.ConnectionQueryServicesImpl.addColumn(ConnectionQueryServicesImpl.java:2258)
at org.apache.phoenix.query.ConnectionQueryServicesImpl.access$600(ConnectionQueryServicesImpl.java:209)
at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2417)
at org.apache.phoenix.query.ConnectionQueryServicesImpl$13.call(ConnectionQueryServicesImpl.java:2290)
at org.apache.phoenix.util.PhoenixContextExecutor.call(PhoenixContextExecutor.java:78)
at org.apache.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:2290)
at org.apache.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:230)
at org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.createConnection(PhoenixEmbeddedDriver.java:135)
at org.apache.phoenix.jdbc.PhoenixDriver.connect(PhoenixDriver.java:201)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)