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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.1.1, 2.2.0, 2.3.0
    • SQL
    • None

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment