Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-8615

beeline csv,tsv outputformat needs backward compatibility mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: Beeline
    • Labels:
      None
    • Release Note:
      Hide
      The formats csv, tsv have been deprecated. The use of csv2 and tsv2 is recommended in place of them.

      - Old format quoted every field. New format quotes only fields that contain a delimiter or the quoting char.
      - Old format quoted using single quotes, new format quotes using double quotes
      - Old format didn't escape quotes in a field (a bug). New format does escape the quotes
      Show
      The formats csv, tsv have been deprecated. The use of csv2 and tsv2 is recommended in place of them. - Old format quoted every field. New format quotes only fields that contain a delimiter or the quoting char. - Old format quoted using single quotes, new format quotes using double quotes - Old format didn't escape quotes in a field (a bug). New format does escape the quotes

      Description

      Changes in HIVE-7390 break backward compatibility for beeline csv and tsv formats.
      This can cause problems for users upgrading to hive 0.14, if they have code for parsing the old output format. Instead of removing the old format in this release, we should consider it deprecated and support it in a few releases before removing it completely.

      Incompatible Changes in the tsv and csv formats-

      • Old format quoted every field. New format quotes only fields that contain a delimiter or the quoteing char.
      • Old format quoted using single quotes, new format quotes using double quotes
      • Old format didn't escape quotes in a field (a bug). New format does escape the quotes

        Attachments

        1. HIVE-8615.2.patch
          27 kB
          Thejas M Nair
        2. HIVE-8615.1.patch
          12 kB
          Thejas M Nair

          Issue Links

            Activity

              People

              • Assignee:
                thejas Thejas M Nair
                Reporter:
                thejas Thejas M Nair
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: