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

Allow other characters for LINES TERMINATED BY

    XMLWordPrintableJSON

Details

    Description

      LINES TERMINATED BY only supports newline '\n' right now.

      It would be nice to loosen this constraint and allow other characters.

      This limitation seems to be hardcoded here:
      https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java#L171

      The DDL Definition on the Hive Language manual shows this as a configurable property whereas it is not. This may lead to mileading assement of being able to choose a choice of field delimiter.

      Attachments

        1. HIVE-5999.patch
          19 kB
          Nemon Lou
        2. HIVE-5999.1.patch
          21 kB
          Nemon Lou

        Issue Links

          Activity

            People

              nemon Nemon Lou
              mdominguez@cloudera.com Mariano Dominguez
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: