phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lomore (JIRA)" <>
Subject [jira] [Created] (PHOENIX-3441) PhoenixTableModify calls on ResultSet for unit tests
Date Thu, 03 Nov 2016 22:28:58 GMT
Eric Lomore created PHOENIX-3441:

             Summary: PhoenixTableModify calls on ResultSet for unit tests
                 Key: PHOENIX-3441
             Project: Phoenix
          Issue Type: Sub-task
            Reporter: Eric Lomore

This is similar to the resolveSequence issue in that is causing unit tests to fail.
It looks like DELETE statements end up in PhoenixTableModify.deleteRows() which ultimately
tries to use a ResultSet, and hence ConnectionlessQueryServicvesImpl.getTable()

{{conn.createStatement().execute("DELETE FROM t1 WHERE k=2")}}
Caused by: java.lang.UnsupportedOperationException
	at org.apache.phoenix.query.ConnectionlessQueryServicesImpl.getTable(
	at org.apache.phoenix.query.DelegateConnectionQueryServices.getTable(
	at org.apache.phoenix.execute.MutationState.getHTable(
	at org.apache.phoenix.iterate.TableResultIterator.<init>(
	at org.apache.phoenix.iterate.DefaultTableResultIteratorFactory.newIterator(
	at org.apache.phoenix.iterate.ParallelIterators.submitWork(
	at org.apache.phoenix.iterate.BaseResultIterators.getIterators(
	... 62 more

This message was sent by Atlassian JIRA

View raw message