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

Spark JDBC writer mapping String to TEXT or VARCHAR

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

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.4.1
    • 2.2.0
    • SQL
    • None

    Description

      Currently JDBC Writer maps String data type to TEXT on database but VARCHAR is ANSI SQL standard hence some of the old databases like Oracle, DB2, Teradata etc does not support TEXT as data type.

      Since VARCHAR needs max length to be specified and different databases support different max value, what will be the best way to implement.

      Attachments

        Issue Links

        Activity

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

          People

            Unassigned Unassigned
            rmullapudi Rama Mullapudi
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment