[
https://issues.apache.org/jira/browse/PHOENIX-6665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17509693#comment-17509693
]
ASF GitHub Bot commented on PHOENIX-6665:
-----------------------------------------
stoty commented on pull request #1406:
URL: https://github.com/apache/phoenix/pull/1406#issuecomment-1073648456
SequenceBulkAllocationIT.testMultipleDifferentExpressionsForSameSequence
failures seem relevant.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> PreparedStatement#getMetaData() fails on parametrized "select next ? values
> for SEQ"
> -------------------------------------------------------------------------------------
>
> Key: PHOENIX-6665
> URL: https://issues.apache.org/jira/browse/PHOENIX-6665
> Project: Phoenix
> Issue Type: Bug
> Components: core
> Affects Versions: 5.2.0
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
>
>
> {code:java}
> PreparedStatement nextStmt = conn.prepareStatement("SELECT NEXT ? VALUES FOR
> SEQ_TABLE");
> nextStmt.getMetaData();{code}
> Fails.
> According to the PreparedStatement javadoc, this should work:
> {quote}
> Because a {{PreparedStatement}} object is precompiled, it is possible to know
> about the {{ResultSet}} object that it will return without having to execute
> it. Consequently, it is possible to invoke the method {{getMetaData}} on a
> {{PreparedStatement}} object rather than waiting to execute it and then
> invoking the {{ResultSet.getMetaData}} method on the {{ResultSet}} object
> that is returned.
> {quote}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)