Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24907 Migrate JDBC data source to DataSource API v2
  3. SPARK-33074

Classify dialect exceptions in JDBC v2 Table Catalog

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersStop watchingWatchersConvert to IssueLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • SQL
    • None

    Description

      The current implementation of v2.jdbc.JDBCTableCatalog don't care of exceptions defined by org.apache.spark.sql.connector.catalog.TableCatalog at all like

      • NoSuchNamespaceException
      • NoSuchTableException
      • TableAlreadyExistsException
        it either throw dialect exception or generic exception AnalysisException.

      Since we split forming of dialect specific statements and their execution, we should extend dialect APIs and ask them how to convert their exceptions to TableCatalog exceptions.

      Attachments

        Activity

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

          People

            maxgekk Max Gekk Assign to me
            maxgekk Max Gekk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment