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

External table - fields terminated by '\u0044' - 0044 is being interpreted as decimal and not hex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.14.0
    • None
    • Parser
    • None

    Description

      , (comma) as the decimal value of '44' and hex value of '2c'
      In the following example I'm using '\u0044' as delimiter which is being interpreted as comma.

      hive> create external table test_delimiter_dec_unicode (c1 int,c2 int,c3 int) row format delimited fields terminated by '\u0044';
      OK
      Time taken: 0.035 seconds
      hive> show create table test_delimiter_dec_unicode;
      OK
      CREATE EXTERNAL TABLE `test_delimiter_dec_unicode`(
      `c1` int,
      `c2` int,
      `c3` int)
      ROW FORMAT DELIMITED
      FIELDS TERMINATED BY ','
      ...

      Attachments

        Issue Links

          Activity

            People

              pxiong Pengcheng Xiong
              dmarkovitz Dudu Markovitz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: