Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1647

Correctly return that Phoenix supports schema name references in DatabaseMetaData

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.9.0, 4.8.1
    • Labels:
    • Environment:

      Phoenix driver 4.1.1
      HBase 98.9
      Hadoop 2

      Description

      I am able to execute queries having fully qualified names in table names. For example:

      UPSERT INTO TEST.CUSTOMERS_TEST VALUES(102,'hbase2',20,'del')

      But when I look at the phoenix driver implementation, I can see that implementation for DatabaseMetaData .supportsSchemasInDataManipulation method always return false.

      As per JDBC documentation, this method retrieves whether a schema name can be used in a data manipulation statement.But as you can see in above example, I can execute DML statements with schema names as well along with other statements.

      Could someone please let me know if there is any specific reason to keep it as false.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kliew Kevin Liew
                Reporter:
                suraj786 suraj misra
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: