[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 13: Verified+1


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 13
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 03 May 2019 20:28:47 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu-table with column comment;
2) alter kudu-table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu-table;
5) invalidate metadata;
6) comment on column is { '' | null | 'comment' }

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Reviewed-on: http://gerrit.cloudera.org:8080/12977
Reviewed-by: Impala Public Jenkins 
Tested-by: Impala Public Jenkins 
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
M testdata/workloads/functional-query/queries/QueryTest/kudu_describe.test
M tests/metadata/test_ddl.py
M tests/metadata/test_ddl_base.py
M tests/query_test/test_kudu.py
9 files changed, 96 insertions(+), 25 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 14
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 12:

Build Successful

https://jenkins.impala.io/job/gerrit-code-review-checks/3058/ : Initial code 
review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun 
to run full precommit tests.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 12
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 03 May 2019 15:56:47 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 13:

> > Patch Set 13:
 > >
 > > > Thanks for the fix.
 > >
 > > should i rebase to the newest master branch?
 >
 > The merge will auto-rebase.

Thanks for your help, good night:)


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 13
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 03 May 2019 15:27:33 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 13:

> Patch Set 13:
>
> > Thanks for the fix.
>
> should i rebase to the newest master branch?

The merge will auto-rebase.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 13
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 03 May 2019 15:25:36 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 13: Code-Review+2


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 13
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 03 May 2019 15:17:39 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 13:

> Thanks for the fix.

should i rebase to the newest master branch?


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 13
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 03 May 2019 15:22:13 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 12: Code-Review+2

Thanks for the fix.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 12
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 03 May 2019 15:17:22 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 13:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4150/ 
DRY_RUN=false


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 13
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 03 May 2019 15:17:40 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-03 Thread helifu (Code Review)
Hello Thomas Marshall, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#12).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu-table with column comment;
2) alter kudu-table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu-table;
5) invalidate metadata;
6) comment on column is { '' | null | 'comment' }

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
M testdata/workloads/functional-query/queries/QueryTest/kudu_describe.test
M tests/metadata/test_ddl.py
M tests/metadata/test_ddl_base.py
M tests/query_test/test_kudu.py
9 files changed, 96 insertions(+), 25 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/12
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 12
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-02 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 11:

> Patch Set 11: Verified-1
>
> Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/4141/

Looks like some failure here:

https://jenkins.impala.io/job/ubuntu-16.04-from-scratch/5483/


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 11
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 02 May 2019 22:39:10 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-02 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 11: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/4141/


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 11
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 02 May 2019 22:35:31 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-02 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 11:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4141/ 
DRY_RUN=false


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 11
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 02 May 2019 16:55:03 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-02 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 11: Code-Review+2


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 11
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 02 May 2019 16:55:02 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-02 Thread Thomas Marshall (Code Review)
Thomas Marshall has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 10: Code-Review+2

Thanks for the contribution!


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 10
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 02 May 2019 16:53:47 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-05-01 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 10: Code-Review+1

LGTM. Thomas, can you take a look at it for the +2?


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 10
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Wed, 01 May 2019 16:07:50 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-29 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 9:

The compilation error fix has been merged. You can rebase it again. Thanks for 
the patience!


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 9
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Tue, 30 Apr 2019 04:03:03 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-29 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 9:

> Patch Set 9:
>
> It seems there is something wrong with hdfs package, below is my local 
> compilation error:
>
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) 
> on project impala-frontend: Compilation failure
> [ERROR] 
> /mnt/ceph/impala/fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java:[868,51]
>  cannot find symbol
> [ERROR] symbol:   method getFileName()
>
> By the way, how to quote my reply? :)

Yeah we're having a compilation error right due to 2 concurrent merges. There's 
a CR to fix it: https://gerrit.cloudera.org/c/13182/. It should be fixed in few 
hours as soon as the CR is merged. You may have to rebase again. Sorry :(

You can just click on the Reply button in my reply in Gerrit.


-- 
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 9
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Tue, 30 Apr 2019 03:08:05 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-29 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 9:

It seems there is something wrong with hdfs package, below is my local 
compilation error:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on 
project impala-frontend: Compilation failure
[ERROR] 
/mnt/ceph/impala/fe/src/main/java/org/apache/impala/catalog/HdfsPartition.java:[868,51]
 cannot find symbol
[ERROR] symbol:   method getFileName()

By the way, how to quote my reply? :)


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 9
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Tue, 30 Apr 2019 02:47:45 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-29 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 9:

> Patch Set 8:
>
> (1 comment)
>
> --helifu Apr 10 8:47 AM?
> Patch Set 1:
> The latest kudu client is required, otherwise the compilation fails

Thanks for all the fixes! If you rebase against the latest master, it should 
fix the compilation error. The new Kudu client (with comment column feature) is 
included as part of this: 
https://github.com/apache/impala/commit/b51c82d29643934477e7726bfeccf0b8fa6ffd0f


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 9
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Mon, 29 Apr 2019 19:57:12 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-27 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 9:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2952/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 9
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Sun, 28 Apr 2019 06:19:36 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-27 Thread helifu (Code Review)
Hello Thomas Marshall, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#9).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu-table with column comment;
2) alter kudu-table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu-table;
5) invalidate metadata;
6) comment on column is { '' | null | 'comment' }

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
M tests/metadata/test_ddl.py
M tests/metadata/test_ddl_base.py
M tests/query_test/test_kudu.py
8 files changed, 95 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/9
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 9
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-27 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 8:

(1 comment)

--helifu Apr 10 8:47 AM↩
Patch Set 1:
The latest kudu client is required, otherwise the compilation fails

http://gerrit.cloudera.org:8080/#/c/12977/8/tests/metadata/test_ddl.py
File tests/metadata/test_ddl.py:

http://gerrit.cloudera.org:8080/#/c/12977/8/tests/metadata/test_ddl.py@737
PS8, Line 737: self.client.execute("drop table {0}".format(table))
> Instead of dropping, we can just create two different tables for the first
Done



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 8
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Sun, 28 Apr 2019 05:25:05 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-27 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 8:

(1 comment)

> Patch Set 8:
>
> Build Failed
> 
> https://jenkins.impala.io/job/gerrit-code-review-checks/2951/ : Initial code 
> review checks failed. See linked job for details on the failure.

Looks like some compilation error:
02:30:00 [ERROR] COMPILATION ERROR :
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java:[88,32]
 cannot find symbol
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java:[88,67]
 cannot find symbol
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:[135,10]
 cannot find symbol
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:[299,23]
 cannot find symbol
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:[299,58]
 cannot find symbol
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:[504,24]
 cannot find symbol
02:30:00 [INFO] BUILD FAILURE
02:30:00 [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on 
project impala-frontend: Compilation failure: Compilation failure:
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java:[88,32]
 cannot find symbol
02:30:00 [ERROR] symbol:   method getComment()
02:30:00 [ERROR] location: variable colSchema of type 
org.apache.kudu.ColumnSchema
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java:[88,67]
 cannot find symbol
02:30:00 [ERROR] symbol:   method getComment()
02:30:00 [ERROR] location: variable colSchema of type 
org.apache.kudu.ColumnSchema
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:[135,10]
 cannot find symbol
02:30:00 [ERROR] symbol:   method comment(java.lang.String)
02:30:00 [ERROR] location: variable csb of type 
org.apache.kudu.ColumnSchema.ColumnSchemaBuilder
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:[299,23]
 cannot find symbol
02:30:00 [ERROR] symbol:   method getComment()
02:30:00 [ERROR] location: variable colSchema of type 
org.apache.kudu.ColumnSchema
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:[299,58]
 cannot find symbol
02:30:00 [ERROR] symbol:   method getComment()
02:30:00 [ERROR] location: variable colSchema of type 
org.apache.kudu.ColumnSchema
02:30:00 [ERROR] 
/home/ubuntu/tmp.Myz4JNT6Cp/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:[504,24]
 cannot find symbol
02:30:00 [ERROR] symbol:   method 
changeComment(java.lang.String,java.lang.String)
02:30:00 [ERROR] location: variable alterTableOptions of type 
org.apache.kudu.client.AlterTableOptions
02:30:00 [ERROR] -> [Help 1]
02:30:00 [ERROR]
02:30:00 [ERROR] To see the full stack trace of the errors, re-run Maven with 
the -e switch.
02:30:00 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
02:30:00 [ERROR]
02:30:00 [ERROR] For more information about the errors and possible solutions, 
please read the following articles:
02:30:00 [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

http://gerrit.cloudera.org:8080/#/c/12977/8/tests/metadata/test_ddl.py
File tests/metadata/test_ddl.py:

http://gerrit.cloudera.org:8080/#/c/12977/8/tests/metadata/test_ddl.py@737
PS8, Line 737: self.client.execute("drop table {0}".format(table))
Instead of dropping, we can just create two different tables for the first one 
and second one. They will be automatically deleted after the test completes.



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 8
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Sun, 28 Apr 2019 04:56:19 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-27 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 8:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2951/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 8
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Sun, 28 Apr 2019 02:30:06 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-27 Thread helifu (Code Review)
Hello Thomas Marshall, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#8).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu-table with column comment;
2) alter kudu-table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu-table;
5) invalidate metadata;
6) comment on column is { '' | null | 'comment' }

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
M tests/metadata/test_ddl.py
M tests/metadata/test_ddl_base.py
M tests/query_test/test_kudu.py
8 files changed, 95 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/8
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 8
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-27 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 7:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/12977/7/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
File fe/src/main/java/org/apache/impala/catalog/KuduColumn.java:

http://gerrit.cloudera.org:8080/#/c/12977/7/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java@116
PS7, Line 116:
> nit: remove two extra spaces
Done


http://gerrit.cloudera.org:8080/#/c/12977/7/fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
File fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java:

http://gerrit.cloudera.org:8080/#/c/12977/7/fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java@2607
PS7, Line 2607:
> nit: remove one extra space for the indentation
Done


http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl.py
File tests/metadata/test_ddl.py:

http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl.py@733
PS7, Line 733: create table {0} (i int PRIMARY KEY) STORED AS KUDU
> nit: use lower case to be consistent with the style in this file
Done


http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl.py@735
PS7, Line 735: comment = self._get_column_comment(table, 'i')
> can we have similar test case for "create table {0} (x int comment 'x', pri
Done


http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl_base.py
File tests/metadata/test_ddl_base.py:

http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl_base.py@122
PS7, Line 122:  or len(cols) == 9
> if len(cols) <= 9 is better since it will work on both kudu and on kudu tab
Done



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 7
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Sun, 28 Apr 2019 01:35:20 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-26 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 7:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/12977/7/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
File fe/src/main/java/org/apache/impala/catalog/KuduColumn.java:

http://gerrit.cloudera.org:8080/#/c/12977/7/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java@116
PS7, Line 116:
nit: remove two extra spaces


http://gerrit.cloudera.org:8080/#/c/12977/7/fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
File fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java:

http://gerrit.cloudera.org:8080/#/c/12977/7/fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java@2607
PS7, Line 2607:
nit: remove one extra space for the indentation


http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl.py
File tests/metadata/test_ddl.py:

http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl.py@733
PS7, Line 733: create table {0} (i int PRIMARY KEY) STORED AS KUDU
nit: use lower case to be consistent with the style in this file


http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl.py@735
PS7, Line 735: comment = self._get_column_comment(table, 'i')
can we have similar test case for "create table {0} (x int comment 'x', primary 
key x) stored as kudu"?


http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl_base.py
File tests/metadata/test_ddl_base.py:

http://gerrit.cloudera.org:8080/#/c/12977/7/tests/metadata/test_ddl_base.py@122
PS7, Line 122:  or len(cols) == 9
if len(cols) <= 9 is better since it will work on both kudu and on kudu tables



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 7
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Fri, 26 Apr 2019 16:13:34 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-25 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 7:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2911/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 7
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 25 Apr 2019 09:50:23 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-25 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 6:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2908/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 6
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 25 Apr 2019 09:25:48 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-25 Thread helifu (Code Review)
Hello Thomas Marshall, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#7).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu-table with column comment;
2) alter kudu-table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu-table;
5) invalidate metadata;
6) comment on column is { '' | null | 'comment' }

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
M tests/metadata/test_ddl.py
M tests/metadata/test_ddl_base.py
M tests/query_test/test_kudu.py
8 files changed, 89 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/7
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 7
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-25 Thread helifu (Code Review)
Hello Thomas Marshall, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#6).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu-table with column comment;
2) alter kudu-table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu-table;
5) invalidate metadata;
6) comment on column is { '' | null | 'comment' }

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
M tests/metadata/test_ddl.py
M tests/metadata/test_ddl_base.py
M tests/query_test/test_kudu.py
8 files changed, 88 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/6
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 6
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-25 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 6:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12977/6/tests/query_test/test_kudu.py
File tests/query_test/test_kudu.py:

http://gerrit.cloudera.org:8080/#/c/12977/6/tests/query_test/test_kudu.py@890
PS6, Line 890: )
flake8: E501 line too long (91 > 90 characters)



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 6
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 25 Apr 2019 08:32:47 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-25 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 5:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2907/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 5
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 25 Apr 2019 08:19:25 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-25 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 5:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/12977/5/tests/metadata/test_ddl.py
File tests/metadata/test_ddl.py:

http://gerrit.cloudera.org:8080/#/c/12977/5/tests/metadata/test_ddl.py@733
PS5, Line 733: )
flake8: E501 line too long (92 > 90 characters)


http://gerrit.cloudera.org:8080/#/c/12977/5/tests/metadata/test_ddl.py@753
PS5, Line 753: l
flake8: E501 line too long (94 > 90 characters)


http://gerrit.cloudera.org:8080/#/c/12977/5/tests/metadata/test_ddl.py@761
PS5, Line 761: b
flake8: E501 line too long (95 > 90 characters)


http://gerrit.cloudera.org:8080/#/c/12977/5/tests/query_test/test_kudu.py
File tests/query_test/test_kudu.py:

http://gerrit.cloudera.org:8080/#/c/12977/5/tests/query_test/test_kudu.py@884
PS5, Line 884: b
flake8: E501 line too long (96 > 90 characters)



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 5
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 25 Apr 2019 07:21:41 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-25 Thread helifu (Code Review)
Hello Thomas Marshall, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#5).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu-table with column comment;
2) alter kudu-table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu-table;
5) invalidate metadata;
6) comment on column is { '' | null | 'comment' }

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
M tests/metadata/test_ddl.py
M tests/metadata/test_ddl_base.py
M tests/query_test/test_kudu.py
8 files changed, 84 insertions(+), 24 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/5
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 5
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-24 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 4:

Overall it looks good. Can you add E2E tests in test_ddl.py?


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 4
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 25 Apr 2019 01:08:13 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-24 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 4:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2900/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 4
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 25 Apr 2019 00:54:10 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-24 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12977/3/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/12977/3/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java@3896
PS3, Line 3896:   if 
(!updateColumnComment(msTbl.getPartitionKeysIterator(), columnName, comment)) {
> line too long (92 > 90)
Done



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 3
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 25 Apr 2019 00:32:31 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-24 Thread helifu (Code Review)
Hello Thomas Marshall, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#4).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu-table with column comment;
2) alter kudu-table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu-table;
5) invalidate metadata;
6) comment on column is { '' | null | 'comment' }

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
5 files changed, 39 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/4
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 4
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-24 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 3:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2877/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 3
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Wed, 24 Apr 2019 12:26:55 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-24 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12977/3/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/12977/3/fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java@3896
PS3, Line 3896:   if 
(!updateColumnComment(msTbl.getPartitionKeysIterator(), columnName, comment)) {
line too long (92 > 90)



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 3
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Wed, 24 Apr 2019 11:43:25 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-24 Thread helifu (Code Review)
Hello Thomas Marshall, Fredy Wijaya, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#3).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu table with column comment;
2) alter kudu table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu table;
5) invalidate metadata;
6) comment on column is {'' | null | 'comment'}

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
M fe/src/test/java/org/apache/impala/analysis/AnalyzeDDLTest.java
5 files changed, 38 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/3
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 3
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-24 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 2:

(6 comments)

sorry for the late update.

http://gerrit.cloudera.org:8080/#/c/12977/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/12977/2//COMMIT_MSG@9
PS2, Line 9: This patch intends to support storing column comment of kudu table
   : on impala side.
> it's okay if we don't it in this patch, but do we plan to support COMMENT O
Done


http://gerrit.cloudera.org:8080/#/c/12977/2//COMMIT_MSG@12
PS2, Line 12: Belows tests passed:
: 1) creata kudu table with column comment;
: 2) alter kudu table with (add/alter[delete] column comment);
: 3) show create kudu table;
: 4) describe kudu table;
> Can you add tests into the following files?
Done


http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
File fe/src/main/java/org/apache/impala/catalog/KuduColumn.java:

http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java@88
PS2, Line 88: String comment = null;
: if (!colSchema.getComment().isEmpty()) comment = 
colSchema.getComment();
> nit: can be inlined
Done


http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java@116
PS2, Line 116: String comment = null;
 : if (column.isSetComment() && !column.getComment().isEmpty()) 
{
 :   comment = column.getComment();
 : }
> nit; same as above. It can be inlined.
Done


http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java@298
PS2, Line 298: String comment = null;
 : if (!colSchema.getComment().isEmpty()) {
 :   comment = colSchema.getComment();
 : }
> nit: inline this.
Done


http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java@303
PS2, Line 303:  type.toSql().toLowerCase(),
 :  comment));
> nit Impala doesn't use this code style. Continued indentation is 4 spaces.
Done



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 2
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Wed, 24 Apr 2019 11:30:32 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-11 Thread Fredy Wijaya (Code Review)
Fredy Wijaya has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 2:

(6 comments)

Thanks for the patch!

http://gerrit.cloudera.org:8080/#/c/12977/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/12977/2//COMMIT_MSG@9
PS2, Line 9: This patch intends to support storing column comment of kudu table
   : on impala side.
it's okay if we don't it in this patch, but do we plan to support COMMENT ON 
syntax for Kudu tables?


http://gerrit.cloudera.org:8080/#/c/12977/2//COMMIT_MSG@12
PS2, Line 12: Belows tests passed:
: 1) creata kudu table with column comment;
: 2) alter kudu table with (add/alter[delete] column comment);
: 3) show create kudu table;
: 4) describe kudu table;
Can you add tests into the following files?
1. AnalyzeDDLTest.java
2. test_ddl.py


http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
File fe/src/main/java/org/apache/impala/catalog/KuduColumn.java:

http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java@88
PS2, Line 88: String comment = null;
: if (!colSchema.getComment().isEmpty()) comment = 
colSchema.getComment();
nit: can be inlined

String comment = (!colSchema.getComment().isEmpty()) ? 
(!colSchema.getComment().isEmpty()) : null;


http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/catalog/KuduColumn.java@116
PS2, Line 116: String comment = null;
 : if (column.isSetComment() && !column.getComment().isEmpty()) 
{
 :   comment = column.getComment();
 : }
nit; same as above. It can be inlined.


http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java@298
PS2, Line 298: String comment = null;
 : if (!colSchema.getComment().isEmpty()) {
 :   comment = colSchema.getComment();
 : }
nit: inline this.


http://gerrit.cloudera.org:8080/#/c/12977/2/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java@303
PS2, Line 303:  type.toSql().toLowerCase(),
 :  comment));
nit Impala doesn't use this code style. Continued indentation is 4 spaces.



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 2
Gerrit-Owner: helifu 
Gerrit-Reviewer: Fredy Wijaya 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: Thomas Marshall 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Thu, 11 Apr 2019 16:58:30 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-09 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 2:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2719/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 2
Gerrit-Owner: helifu 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Wed, 10 Apr 2019 02:41:38 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-09 Thread helifu (Code Review)
Hello Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12977

to look at the new patch set (#2).

Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu table with column comment;
2) alter kudu table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu table;

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
3 files changed, 21 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/2
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 2
Gerrit-Owner: helifu 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: helifu 


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-09 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 1:

Build Failed

https://jenkins.impala.io/job/gerrit-code-review-checks/2717/ : Initial code 
review checks failed. See linked job for details on the failure.


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 1
Gerrit-Owner: helifu 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Wed, 10 Apr 2019 01:26:27 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-09 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12977/1/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/12977/1/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java@302
PS1, Line 302: cols.add(new FieldSchema(colSchema.getName(), 
type.toSql().toLowerCase(), comment));
> line too long (92 > 90)
Done



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 1
Gerrit-Owner: helifu 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Wed, 10 Apr 2019 01:02:29 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-09 Thread helifu (Code Review)
helifu has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 1:

The latest kudu client is required, otherwise the compilation fails


--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 1
Gerrit-Owner: helifu 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Reviewer: helifu 
Gerrit-Comment-Date: Wed, 10 Apr 2019 00:47:31 +
Gerrit-HasComments: No


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-09 Thread Impala Public Jenkins (Code Review)
Impala Public Jenkins has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12977 )

Change subject: IMPALA-5351: Support storing column comment of kudu table
..


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12977/1/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
File fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java:

http://gerrit.cloudera.org:8080/#/c/12977/1/fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java@302
PS1, Line 302: cols.add(new FieldSchema(colSchema.getName(), 
type.toSql().toLowerCase(), comment));
line too long (92 > 90)



--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 1
Gerrit-Owner: helifu 
Gerrit-Reviewer: Impala Public Jenkins 
Gerrit-Comment-Date: Wed, 10 Apr 2019 00:43:17 +
Gerrit-HasComments: Yes


[Impala-ASF-CR] IMPALA-5351: Support storing column comment of kudu table

2019-04-09 Thread helifu (Code Review)
helifu has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12977


Change subject: IMPALA-5351: Support storing column comment of kudu table
..

IMPALA-5351: Support storing column comment of kudu table

This patch intends to support storing column comment of kudu table
on impala side.

Belows tests passed:
1) creata kudu table with column comment;
2) alter kudu table with (add/alter[delete] column comment);
3) show create kudu table;
4) describe kudu table;

Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
---
M fe/src/main/java/org/apache/impala/analysis/AlterTableAlterColStmt.java
M fe/src/main/java/org/apache/impala/catalog/KuduColumn.java
M fe/src/main/java/org/apache/impala/service/KuduCatalogOpExecutor.java
3 files changed, 19 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/77/12977/1
--
To view, visit http://gerrit.cloudera.org:8080/12977
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb3b37eed364f12bdb3c1d7ef5be128f1475936c
Gerrit-Change-Number: 12977
Gerrit-PatchSet: 1
Gerrit-Owner: helifu