[ 
https://issues.apache.org/jira/browse/HIVE-13210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184388#comment-15184388
 ] 

Pengcheng Xiong commented on HIVE-13210:
----------------------------------------

[~jcamachorodriguez], shall we get this in ASAP as it blocks changes in 
HIVE-11160 of thrift code? The changes in HIVE-12994 also affects serde and now 
if we run {code}mvn install -Pthriftif -DskipTests 
-Dthrift.home=/usr/local{code} to regenerate thrift code, it will give us error 
{code}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on 
project hive-serde: Compilation failure: Compilation failure:
[ERROR] 
/home/pxiong/Project/hive/hive/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/BinarySortableSerDe.java:[127,60]
 cannot find symbol
[ERROR] symbol:   variable SERIALIZATION_NULL_SORT_ORDER
[ERROR] location: class org.apache.hadoop.hive.serde.serdeConstants
[ERROR] 
/home/pxiong/Project/hive/hive/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/BinarySortableSerDe.java:[127,60]
 cannot find symbol
[ERROR] symbol:   variable SERIALIZATION_NULL_SORT_ORDER
[ERROR] location: class org.apache.hadoop.hive.serde.serdeConstants
[ERROR] 
/home/pxiong/Project/hive/hive/serde/src/java/org/apache/hadoop/hive/serde2/binarysortable/BinarySortableSerDe.java:[187,36]
 cannot find symbol
[ERROR] symbol:   variable SERIALIZATION_NULL_SORT_ORDER
[ERROR] location: class org.apache.hadoop.hive.serde.serdeConstants
[ERROR] -> [Help 1]
{code} 

And the patch in this JIRA works for me. Thanks.

> Revert changes in HIVE-12994 related to metastore
> -------------------------------------------------
>
>                 Key: HIVE-13210
>                 URL: https://issues.apache.org/jira/browse/HIVE-13210
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-13210.patch
>
>
> As we do not control what is written in the physical layer and thus we cannot 
> ensure NULLS ORDER (and even if we did, currently we do not take advantage of 
> it), it seems exposing the NULLS ORDER property at metastore level does not 
> make much sense. We will revert that part of patch HIVE-12994.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to