Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-20439

Catalog.listTables() depends on all libraries used to create tables

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.1.1, 2.2.0, 2.3.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

      spark.catalog.listTables() and getTable

      You may get an error on the table serde library:
      java.lang.RuntimeException: java.lang.ClassNotFoundException: com.amazon.emr.kinesis.hive.KinesisHiveInputFormat

      Or if the database contains any table (e.g., index) with a table type that is not accessible by Spark SQL, it will fail the whole listTable API.

        Attachments

          Activity

            People

            • Assignee:
              smilegator Xiao Li
              Reporter:
              smilegator Xiao Li
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: