[jira] [Commented] (PARQUET-1322) Statistics is not available for DECIMAL types

2018-06-10 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/PARQUET-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16507683#comment-16507683
 ] 

ASF GitHub Bot commented on PARQUET-1322:
-

vrozov opened a new pull request #494: PARQUET-1322: Statistics is not 
available for DECIMAL types
URL: https://github.com/apache/parquet-mr/pull/494
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Statistics is not available for DECIMAL types
> -
>
> Key: PARQUET-1322
> URL: https://issues.apache.org/jira/browse/PARQUET-1322
> Project: Parquet
>  Issue Type: Bug
>Affects Versions: 1.9.0, 1.10.0
>Reporter: Vlad Rozov
>Priority: Critical
>
> According to parquet format specification columns annotated as DECIMAL should 
> use SIGNED comparator and statistics should be available. The sort order 
> returned by {{org.apache.parquet.format.converter.ParquetMetadataConverter}} 
> for DECIMAL is {{SortOrder.UNKNOWN}} which contradicts the specification and 
> makes statistics for DECIMAL types unavailable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (PARQUET-1319) [C++] Pass BISON_EXECUTABLE to Thrift EP for MacOS

2018-06-10 Thread Tham Ha Thi (JIRA)


[ 
https://issues.apache.org/jira/browse/PARQUET-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16507580#comment-16507580
 ] 

Tham Ha Thi commented on PARQUET-1319:
--

Sure. I'm willing to.

> [C++] Pass BISON_EXECUTABLE to Thrift EP for MacOS
> --
>
> Key: PARQUET-1319
> URL: https://issues.apache.org/jira/browse/PARQUET-1319
> Project: Parquet
>  Issue Type: Bug
>  Components: parquet-thrift
> Environment: Mac mini (High Sierra 10.13.4)
>Reporter: Tham Ha Thi
>Priority: Major
> Fix For: cpp-1.5.0
>
>
> I was building parquet-cpp on my Mac mini (High Sierra 10.13.4). I've got an 
> error:
> {code:java}
> /Users/sdkteam/jenkins/workspace/Dev-Mac/src/ThirdParty/parquet-cpp/build/thrift_ep-prefix/src/thrift_ep/compiler/cpp/src/thrift/thrifty.yy:1.1-5:
>  invalid directive: `%code'
> /Users/sdkteam/jenkins/workspace/Dev-Mac/src/ThirdParty/parquet-cpp/build/thrift_ep-prefix/src/thrift_ep/compiler/cpp/src/thrift/thrifty.yy:1.7-14:
>  syntax error, unexpected identifier
> make[5]: *** [compiler/cpp/thrift/thrifty.cc] Error 1
> make[4]: *** [compiler/cpp/CMakeFiles/parse.dir/all] Error 2
> make[3]: *** [all] Error 2
> {code}
> I googled and they said that I need to upgrade bison to 3.0. I did and did 
> every way I can to config $PATH and successfully change: on terminal "bison 
> --version" printed 3.0.5
> Somehow cmake still recognize old bison in /usr/bin/bison.
> I tried to add BISON_EXECUTABLE=/usr/local/Cellar/bison/3.0.5/bin/bison into 
> THRIFT_CMAKE_ARGS in /cmake_modules/ThirdpartyToolchain.cmake  and it works.
> I think it should be helpful if I can pass BISON_EXECUTABLE from parquet-cpp 
> to thrift ep. Can you please help that or suggest me another way?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1322) Statistics is not available for DECIMAL types

2018-06-10 Thread Vlad Rozov (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vlad Rozov updated PARQUET-1322:

Affects Version/s: 1.9.0
   1.10.0

> Statistics is not available for DECIMAL types
> -
>
> Key: PARQUET-1322
> URL: https://issues.apache.org/jira/browse/PARQUET-1322
> Project: Parquet
>  Issue Type: Bug
>Affects Versions: 1.9.0, 1.10.0
>Reporter: Vlad Rozov
>Priority: Critical
>
> According to parquet format specification columns annotated as DECIMAL should 
> use SIGNED comparator and statistics should be available. The sort order 
> returned by {{org.apache.parquet.format.converter.ParquetMetadataConverter}} 
> for DECIMAL is {{SortOrder.UNKNOWN}} which contradicts the specification and 
> makes statistics for DECIMAL types unavailable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1322) Statistics is not available for DECIMAL types

2018-06-10 Thread Vlad Rozov (JIRA)
Vlad Rozov created PARQUET-1322:
---

 Summary: Statistics is not available for DECIMAL types
 Key: PARQUET-1322
 URL: https://issues.apache.org/jira/browse/PARQUET-1322
 Project: Parquet
  Issue Type: Bug
Reporter: Vlad Rozov


According to parquet format specification columns annotated as DECIMAL should 
use SIGNED comparator and statistics should be available. The sort order 
returned by {{org.apache.parquet.format.converter.ParquetMetadataConverter}} 
for DECIMAL is {{SortOrder.UNKNOWN}} which contradicts the specification and 
makes statistics for DECIMAL types unavailable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)