HUE-5991 [metastore] New table with Date time works with Hive but not with Impala

Review Request #11319 - Created Aug. 10, 2017 and submitted

Jean-Francois Desjeans Gauthier
hue
master
HUE-5991
hue
enricoberti, jgauthier, johan, krish, ranade, romain, weixia, yingc
commit 7164f6ab6d3653afff0c6bb7c700ccad2c8cddbc
Author: jdesjean <jgauthier@cloudera.com>
Date:   Thu Aug 10 17:22:48 2017 -0700

    HUE-5991 [metastore]    New table with Date time works with Hive but not
    with Impala

:100644 100644 3463015be9... 454207a332... M	desktop/libs/indexer/src/indexer/fields.py
:100644 100644 cd06bb52cc... a3ea7bd875... M	desktop/libs/indexer/src/indexer/templates/importer.mako


  • 1
  • 0
  • 0
  • 0
  • 1
Description From Last Updated
In Solr, it must have a T, e.g. https://cwiki.apache.org/confluence/display/solr/Working+with+Dates so might add some false positive. But it is fine for ... Romain Rigaux
  1. 
      
  2. In Solr, it must have a T, e.g. https://cwiki.apache.org/confluence/display/solr/Working+with+Dates

    so might add some false positive. But it is fine for now, we would need to have a proper parsing for each engines at some point ('solr_date', 'date'...)

    1. The reason for adding the whitespace is that hive supports it. My thinking is that the heuristic for determining the data type should be as lenient as possible and if data format is incorrect for the destination table it should be fixed via a job before doing the data load.

  3. 
      
Review request changed

Status: Closed (submitted)

Loading...