HUE-4501 [indexer] Add basic hive CSV file format outline to indexer

Review Request #8153 - Created Aug. 3, 2016 and updated

Aaron Peddle
hue
reindex_smart_indexer
HUE-4501
hue
enricoberti, jennykim, johan, krish, romain, weixia
commit e251dca22dd03b153c4be8b25b06a37e289306a9
Author: peddle <peddle.aaron@gmail.com>
Date:   Wed Aug 3 13:57:36 2016 -0700

    HUE-4501 [indexer] Add basic hive CSV file format outline to indexer

:100644 100644 86495ba... 470ded7... M	desktop/libs/indexer/src/indexer/file_format.py


  • 5
  • 0
  • 0
  • 0
  • 5
Description From Last Updated
The types names class TTypeId(object): BOOLEAN_TYPE = 0 TINYINT_TYPE = 1 SMALLINT_TYPE = 2 INT_TYPE = 3 BIGINT_TYPE = 4 ... Romain Rigaux
cls.FIELD_TYPE_TRANSLATE.get(field['type'], 'string') Romain Rigaux
there is no boolean? Romain Rigaux
space after : Romain Rigaux
might be string Romain Rigaux
  1. 
      
  2. The types names

    class TTypeId(object):
    BOOLEAN_TYPE = 0
    TINYINT_TYPE = 1
    SMALLINT_TYPE = 2
    INT_TYPE = 3
    BIGINT_TYPE = 4
    FLOAT_TYPE = 5
    DOUBLE_TYPE = 6
    STRING_TYPE = 7
    TIMESTAMP_TYPE = 8
    BINARY_TYPE = 9
    ARRAY_TYPE = 10
    MAP_TYPE = 11
    STRUCT_TYPE = 12
    UNION_TYPE = 13
    USER_DEFINED_TYPE = 14
    DECIMAL_TYPE = 15
    NULL_TYPE = 16
    DATE_TYPE = 17
    VARCHAR_TYPE = 18
    CHAR_TYPE = 19

  3. cls.FIELD_TYPE_TRANSLATE.get(field['type'], 'string')

  4. 
      
Review request changed
  1. 
      
  2. there is no boolean?

  3. might be string

  4. 
      
Loading...