[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 5: Verified+1 -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 5 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac Gerrit-Comment-Date: Fri, 20 Jul 2018 02:19:33 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. IMPALA-6677: [DOCS] Document the next_day function Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Reviewed-on: http://gerrit.cloudera.org:8080/10893 Reviewed-by: Vuk Ercegovac Tested-by: Impala Public Jenkins --- M docs/topics/impala_datetime_functions.xml 1 file changed, 58 insertions(+), 15 deletions(-) Approvals: Vuk Ercegovac: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 6 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 5: Build started: https://jenkins.impala.io/job/gerrit-docs-submit/352/ -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 5 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac Gerrit-Comment-Date: Fri, 20 Jul 2018 02:09:33 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Vuk Ercegovac has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 5: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 5 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac Gerrit-Comment-Date: Fri, 20 Jul 2018 00:55:00 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Alex Rodoni has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/10893/4/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/4/docs/topics/impala_datetime_functions.xml@1941 PS4, Line 1941: SELECT NEXT_DAY > I've followed a little bit the discussion about moving towards this style. Done -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 4 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac Gerrit-Comment-Date: Fri, 20 Jul 2018 00:30:59 + Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Hello Bharath Vissapragada, Lars Volker, Impala Public Jenkins, Vuk Ercegovac, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/10893 to look at the new patch set (#5). Change subject: IMPALA-6677: [DOCS] Document the next_day function .. IMPALA-6677: [DOCS] Document the next_day function Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 --- M docs/topics/impala_datetime_functions.xml 1 file changed, 58 insertions(+), 15 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/93/10893/5 -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 5 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Vuk Ercegovac has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 4: (1 comment) http://gerrit.cloudera.org:8080/#/c/10893/4/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/4/docs/topics/impala_datetime_functions.xml@1941 PS4, Line 1941: SELECT NEXT_DAY I've followed a little bit the discussion about moving towards this style. However, I'd prefer that we retain file-level consistency, then move to the new style at the file granularity. I'm concerned that an inconsistent style for a given file will be worse than a consistent style, even it we're moving away from it. This file looks like it uses lower-case for both keywords and functions. -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 4 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac Gerrit-Comment-Date: Thu, 19 Jul 2018 23:58:00 + Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Hello Bharath Vissapragada, Lars Volker, Impala Public Jenkins, Vuk Ercegovac, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/10893 to look at the new patch set (#4). Change subject: IMPALA-6677: [DOCS] Document the next_day function .. IMPALA-6677: [DOCS] Document the next_day function Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 --- M docs/topics/impala_datetime_functions.xml 1 file changed, 59 insertions(+), 15 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/93/10893/4 -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 4 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Alex Rodoni has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 3: (2 comments) http://gerrit.cloudera.org:8080/#/c/10893/3/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/3/docs/topics/impala_datetime_functions.xml@1941 PS3, Line 1941: one a week later > the "a" should be removed. Done http://gerrit.cloudera.org:8080/#/c/10893/3/docs/topics/impala_datetime_functions.xml@1951 PS3, Line 1951: 07-12 > perhaps include the example referenced on L1940? Done -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 3 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Reviewer: Vuk Ercegovac Gerrit-Comment-Date: Thu, 19 Jul 2018 23:44:55 + Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Hello Lars Volker, Impala Public Jenkins, I'd like you to reexamine a change. Please visit http://gerrit.cloudera.org:8080/10893 to look at the new patch set (#3). Change subject: IMPALA-6677: [DOCS] Document the next_day function .. IMPALA-6677: [DOCS] Document the next_day function Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 --- M docs/topics/impala_datetime_functions.xml 1 file changed, 61 insertions(+), 15 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/93/10893/3 -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 3 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Alex Rodoni has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/10893/2/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/2/docs/topics/impala_datetime_functions.xml@1941 PS2, Line 1941: Saturday December 25 > "first Saturday after December..."? Done -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 2 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Comment-Date: Fri, 13 Jul 2018 15:55:37 + Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Alex Rodoni has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 2: > (2 comments) I checked a few other RDBMS docs, and see that no space before and after (). I will follow that convention, and I will use the upper case SQL keywords and function names. I strongly believe in consistency, but with not enough bandwidth, I will update the docs whenever I have a chance. Thank you for keeping the docs honest! -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 2 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Comment-Date: Fri, 13 Jul 2018 03:49:47 + Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Lars Volker has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 2: (2 comments) http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml@1941 PS1, Line 1941: > Did you see my comment above? I would like to use upper case for SQL. And h Sorry, I had missed your comment. I think it'd be good to keep the style consistent, and the previous few examples that I looked at used lowercase for SQL keywords and function names. Other pages of our docs use uppercase or lowercase for SQL keywords and lowercase for function names. Most notably, our function pages also use lowercase for function names: https://impala.apache.org/docs/build3x/html/topics/impala_math_functions.html#math_functions If we want to change this going forward, I suggest to change it in a single commit (since the files are rather large). I don't feel strongly about which way we should go as long as it's consistent. Space before parentheses usually expresses a logical grouping, whereas function arguments are usually not separated from the function name. This example from our docs contains both: SELECT x FROM t1 WHERE y = (SELECT max(z) FROM t2); I think that this convention provides the best readability. If you feel strongly about it, I suggest to start a thread on dev@ and ask for more feedback. We might also want to check what other projects do. I briefly looked at the docs of Hive and Phoenix and they seem to follow our current style. http://gerrit.cloudera.org:8080/#/c/10893/2/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/2/docs/topics/impala_datetime_functions.xml@1941 PS2, Line 1941: Saturday December 25 "first Saturday after December..."? -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 2 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Comment-Date: Fri, 13 Jul 2018 03:33:04 + Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Alex Rodoni has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 1: (1 comment) http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml@1941 PS1, Line 1941: Saturday December > This one is still open, too. Did you see my comment above? I would like to use upper case for SQL. And have a space before parenth. Could you tell me if you object these? -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 1 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Comment-Date: Fri, 13 Jul 2018 02:13:36 + Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Lars Volker has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 2: (2 comments) http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml@1941 PS1, Line 1941: 00:00:00' the f > The previous example above uses lower case and doesn't have a space before This one is still open. http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml@1941 PS1, Line 1941: > missing word? Also can you wrap the lines at 90 chars within the codeblock? This one is still open, too. -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 2 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Comment-Date: Fri, 13 Jul 2018 02:07:11 + Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-6677: [DOCS] Document the next day function
Alex Rodoni has posted comments on this change. ( http://gerrit.cloudera.org:8080/10893 ) Change subject: IMPALA-6677: [DOCS] Document the next_day function .. Patch Set 1: (4 comments) http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml File docs/topics/impala_datetime_functions.xml: http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml@1921 PS1, Line 1921: Purpose: Returns the date of the weekday > It seems somewhat implied, but maybe we should mention that the calling thi Done http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml@1930 PS1, Line 1930: "Sunday"/"SUN", > Maybe make these follow the same case, if they're case insensitive? It seem Done http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml@1941 PS1, Line 1941: SELECT NEXT_DAY > The previous example above uses lower case and doesn't have a space before The original style for SQL is to use upper case for keywords even though not consistently followed. Will use upper case going forward and change the existing examples whenever possible. I would like to have space before opening paren unless there is a good reason not to use a space. Let me know if there is a reason that I am not aware of. http://gerrit.cloudera.org:8080/#/c/10893/1/docs/topics/impala_datetime_functions.xml@1941 PS1, Line 1941: Saturday December > missing word? Also can you wrap the lines at 90 chars within the codeblock? Done -- To view, visit http://gerrit.cloudera.org:8080/10893 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715 Gerrit-Change-Number: 10893 Gerrit-PatchSet: 1 Gerrit-Owner: Alex Rodoni Gerrit-Reviewer: Alex Rodoni Gerrit-Reviewer: Impala Public Jenkins Gerrit-Reviewer: Lars Volker Gerrit-Comment-Date: Thu, 12 Jul 2018 22:33:03 + Gerrit-HasComments: Yes