You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Alex Rodoni (Code Review)" <ge...@cloudera.org> on 2018/03/31 01:45:39 UTC
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Alex Rodoni has uploaded this change for review. ( http://gerrit.cloudera.org:8080/9880
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
IMPALA-6546: [DOCS] Add the new ODBC functions to docs
- Added the following new functions to the string functions doc:
left() and right()
- Added the following new functions to the date time functions doc:
monthname(), shortdayname(), shortmonthname(), longdayname(),
longmonthname(), quarter()
- Removed dayname()
- Added quarter to extract() and date_part() as a unit
Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
---
M docs/topics/impala_datetime_functions.xml
M docs/topics/impala_string_functions.xml
2 files changed, 963 insertions(+), 1,100 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/80/9880/1
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 1
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
Patch Set 3:
Build started: https://jenkins.impala.io/job/gerrit-docs-submit/218/
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 3
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
Gerrit-Comment-Date: Mon, 02 Apr 2018 20:57:57 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Alex Rodoni (Code Review)" <ge...@cloudera.org>.
Alex Rodoni has posted comments on this change. ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
Patch Set 2:
(9 comments)
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml
File docs/topics/impala_datetime_functions.xml:
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@110
PS2, Line 110: >months_add()</xref></codeph>.
> weird line break here (and elsewhere in this file)
Done
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@719
PS2, Line 719: <!--dayname was removed in 2.12.-->
> dayname was not removed
Done
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@769
PS2, Line 769: <!-- <codeph>dayofweek(string date)</codeph> -->
> remove?
Done
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@1456
PS2, Line 1456: <codeph>longdayname(timestamp date)</codeph>
> This function does not exist. I believe you misunderstood Greg's commit mes
Done
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@1473
PS2, Line 1473: <codeph>longmonthname(timestamp date)</codeph>
> this is monthname
Done
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@1728
PS2, Line 1728: <!-- <codeph>month(string date)</codeph> -->
> remove?
Done
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@2294
PS2, Line 2294: <codeph>shortdayname(timestamp date)</codeph>
> This function does not exist.
Done
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@2311
PS2, Line 2311: <codeph>shortmonthname(timestamp date)</codeph>
> Function does no exist.
Done
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@3040
PS2, Line 3040: <!-- <codeph>weekofyear(string date)</codeph> -->
> remove?
Done
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 2
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
Gerrit-Comment-Date: Sat, 31 Mar 2018 06:29:43 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "John Russell (Code Review)" <ge...@cloudera.org>.
John Russell has posted comments on this change. ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
Patch Set 3:
Not worth doing another patch set, but FYI for future edits: for references to functions we typically include () notation, e.g. "the <codeph>foo()</codeph> function" to distinguish those references from other kinds of names. The convention I've used is all-caps for aggregate and window functions (MAX(), COUNT(), etc.) since those are fairly SQL-like and lowercase for other scalar functions (length(), substr(), etc.) since those names are familar to C coders.
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 3
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
Gerrit-Comment-Date: Mon, 02 Apr 2018 21:14:57 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Alex Rodoni (Code Review)" <ge...@cloudera.org>.
Hello Greg Rahn, John Russell, Alex Behm,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/9880
to look at the new patch set (#3).
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
IMPALA-6546: [DOCS] Add the new ODBC functions to docs
- Added the following new functions to the string functions doc:
left() and right()
- Added the following new functions to the date time functions doc:
monthname(), quarter(), week()
- Added quarter to extract() and date_part() as a unit
Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
---
M docs/topics/impala_datetime_functions.xml
M docs/topics/impala_string_functions.xml
2 files changed, 73 insertions(+), 28 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/80/9880/3
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 3
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
IMPALA-6546: [DOCS] Add the new ODBC functions to docs
- Added the following new functions to the string functions doc:
left() and right()
- Added the following new functions to the date time functions doc:
monthname(), quarter(), week()
- Added quarter to extract() and date_part() as a unit
Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Reviewed-on: http://gerrit.cloudera.org:8080/9880
Reviewed-by: Alex Behm <al...@cloudera.com>
Tested-by: Impala Public Jenkins
---
M docs/topics/impala_datetime_functions.xml
M docs/topics/impala_string_functions.xml
2 files changed, 73 insertions(+), 28 deletions(-)
Approvals:
Alex Behm: Looks good to me, approved
Impala Public Jenkins: Verified
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 4
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
Patch Set 3: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 3
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
Gerrit-Comment-Date: Mon, 02 Apr 2018 21:04:06 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Alex Rodoni (Code Review)" <ge...@cloudera.org>.
Alex Rodoni has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
IMPALA-6546: [DOCS] Add the new ODBC functions to docs
- Added the following new functions to the string functions doc:
left() and right()
- Added the following new functions to the date time functions doc:
monthname(), shortdayname(), shortmonthname(), longdayname(),
longmonthname(), quarter()
- Removed dayname()
- Added quarter to extract() and date_part() as a unit
Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
---
M docs/topics/impala_datetime_functions.xml
M docs/topics/impala_string_functions.xml
2 files changed, 868 insertions(+), 489 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/80/9880/2
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 2
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Alex Behm (Code Review)" <ge...@cloudera.org>.
Alex Behm has posted comments on this change. ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
Patch Set 2:
(9 comments)
Please try to separate huge formatting changes into cleanup patches. I needed to dig through 1000+ lines to find few lines with actual content changes.
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml
File docs/topics/impala_datetime_functions.xml:
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@110
PS2, Line 110: >months_add()</xref></codeph>.
weird line break here (and elsewhere in this file)
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@719
PS2, Line 719: <!--dayname was removed in 2.12.-->
dayname was not removed
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@769
PS2, Line 769: <!-- <codeph>dayofweek(string date)</codeph> -->
remove?
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@1456
PS2, Line 1456: <codeph>longdayname(timestamp date)</codeph>
This function does not exist. I believe you misunderstood Greg's commit message. The changes under "Refactors" are internal code changes only. None of those changes are user-visible, we still have the same dayname builtin function (and not a longdayname function)
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@1473
PS2, Line 1473: <codeph>longmonthname(timestamp date)</codeph>
this is monthname
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@1728
PS2, Line 1728: <!-- <codeph>month(string date)</codeph> -->
remove?
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@2294
PS2, Line 2294: <codeph>shortdayname(timestamp date)</codeph>
This function does not exist.
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@2311
PS2, Line 2311: <codeph>shortmonthname(timestamp date)</codeph>
Function does no exist.
http://gerrit.cloudera.org:8080/#/c/9880/2/docs/topics/impala_datetime_functions.xml@3040
PS2, Line 3040: <!-- <codeph>weekofyear(string date)</codeph> -->
remove?
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 2
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
Gerrit-Comment-Date: Sat, 31 Mar 2018 04:49:01 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Alex Behm (Code Review)" <ge...@cloudera.org>.
Alex Behm has posted comments on this change. ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
Patch Set 4:
Thanks, John! Good to know. Probably good to fix this in a follow-on patch.
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 4
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
Gerrit-Comment-Date: Mon, 02 Apr 2018 21:23:26 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-6546: [DOCS] Add the new ODBC functions to docs
Posted by "Alex Behm (Code Review)" <ge...@cloudera.org>.
Alex Behm has posted comments on this change. ( http://gerrit.cloudera.org:8080/9880 )
Change subject: IMPALA-6546: [DOCS] Add the new ODBC functions to docs
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/9880
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Icf31b50584628603c0c86ff0772a12ac6ac5c7b6
Gerrit-Change-Number: 9880
Gerrit-PatchSet: 3
Gerrit-Owner: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Alex Rodoni <ar...@cloudera.com>
Gerrit-Reviewer: Greg Rahn <gr...@cloudera.com>
Gerrit-Reviewer: John Russell <jr...@cloudera.com>
Gerrit-Comment-Date: Mon, 02 Apr 2018 20:57:21 +0000
Gerrit-HasComments: No