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

Tajo QA commented on TAJO-1675:
-------------------------------

{color:red}*-1 overall.*{color}  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12754154/TAJO-1675_2.patch
  against master revision release-0.9.0-rc0-442-gd794c1d.

    {color:green}+1 @author.{color}  The patch does not contain any @author 
tags.

    {color:green}+1 tests included.{color}  The patch appears to include 3 new 
or modified test files.

    {color:green}+1 javac.{color}  The applied patch does not increase the 
total number of javac compiler warnings.

    {color:green}+1 javadoc.{color}  The applied patch does not increase the 
total number of javadoc warnings.

    {color:green}+1 checkstyle.{color}  The patch generated 0 code style errors.

    {color:red}-1 findbugs.{color}  The patch appears to cause Findbugs 
(version 2.0.3) to fail.

    {color:green}+1 release audit.{color}  The applied patch does not increase 
the total number of release audit warnings.

    {color:green}+1 core tests.{color}  The patch passed unit tests in 
tajo-catalog/tajo-catalog-client tajo-catalog/tajo-catalog-common 
tajo-catalog/tajo-catalog-drivers/tajo-hive tajo-catalog/tajo-catalog-server 
tajo-core tajo-core-tests.

Test results: 
https://builds.apache.org/job/PreCommit-TAJO-Build/851//testReport/
Findbugs results: 
https://builds.apache.org/job/PreCommit-TAJO-Build/851//findbugsResult
Console output: https://builds.apache.org/job/PreCommit-TAJO-Build/851//console

This message is automatically generated.

> NPE when selecting data from information_schema.partition_keys
> --------------------------------------------------------------
>
>                 Key: TAJO-1675
>                 URL: https://issues.apache.org/jira/browse/TAJO-1675
>             Project: Tajo
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Jihoon Son
>            Assignee: Jaehwa Jung
>             Fix For: 0.11.0, 0.12.0
>
>         Attachments: TAJO-1675.patch, TAJO-1675_2.patch
>
>
> See the title.
> You can reproduce as follows.
> {noformat}
> default> create table partitioned_nation (n_name text, n_comment text) 
> partition by column (n_nationkey int8, n_regionkey int8) ;
> OK
> default> insert into partitioned_nation select * from nation;
> default> \d partitioned_nation
> table name: default.partitioned_nation
> table uri: hdfs://localhost:7020/tajo/warehouse/default/partitioned_nation
> store type: CSV
> number of rows: 0
> volume: 0 B
> Options: 
>       'text.delimiter'='|'
> schema: 
> n_name        TEXT
> n_comment     TEXT
> Partitions: 
> type:COLUMN
> columns::n_nationkey (INT8), n_regionkey (INT8)
> default> \c information_schema
> You are now connected to database "information_schema" as user "jihoonson".
> information_schema> select * from partition_keys;
> partition_id,  column_name,  partition_value
> -------------------------------
> ERROR: java.lang.NullPointerException
> java.sql.SQLException: java.lang.NullPointerException
>       at 
> org.apache.tajo.jdbc.TajoResultSetBase.next(TajoResultSetBase.java:717)
>       at 
> org.apache.tajo.cli.tsql.DefaultTajoCliOutputFormatter.printResult(DefaultTajoCliOutputFormatter.java:105)
>       at 
> org.apache.tajo.cli.tsql.TajoCli.localQueryCompleted(TajoCli.java:558)
>       at org.apache.tajo.cli.tsql.TajoCli.executeQuery(TajoCli.java:532)
>       at 
> org.apache.tajo.cli.tsql.TajoCli.executeParsedResults(TajoCli.java:447)
>       at org.apache.tajo.cli.tsql.TajoCli.runShell(TajoCli.java:419)
>       at org.apache.tajo.cli.tsql.TajoCli.main(TajoCli.java:692)
> Caused by: java.io.IOException: java.lang.NullPointerException
>       at org.apache.tajo.jdbc.FetchResultSet.nextTuple(FetchResultSet.java:80)
>       at 
> org.apache.tajo.jdbc.TajoResultSetBase.next(TajoResultSetBase.java:711)
>       ... 6 more
> Caused by: com.google.protobuf.ServiceException: 
> java.lang.NullPointerException
>       at 
> org.apache.tajo.client.QueryClientImpl.fetchNextQueryResult(QueryClientImpl.java:360)
>       at 
> org.apache.tajo.client.TajoClientImpl.fetchNextQueryResult(TajoClientImpl.java:134)
>       at org.apache.tajo.jdbc.FetchResultSet.nextTuple(FetchResultSet.java:62)
>       ... 7 more
> {noformat}



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

Reply via email to