Commit Graph

23 Commits

Author SHA1 Message Date
Shajini Thayasingh
6e33ffdabe IMPALA-10306: [DOCS] remove TZ offset texts from the list
added an item in the list that says that TZ offset will not be included
in the output of this function even if the offset is provided as input

Change-Id: I693d15f1230dd7eebcbf2a16657a3850943749e1
Reviewed-on: http://gerrit.cloudera.org:8080/16689
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2020-11-25 13:52:05 +00:00
Alex Rodoni
23ca556d01 IMPALA-8580: [DOCS] Document the date time patterns supported
- Documented the subset of Java SimpleDateFormat that Impala supports
- Changed "formats" to "patterns" to be consistent within this doc

Change-Id: Iba9952f3c8017accb1a9b7e4cd693a7aeb6630d0
Reviewed-on: http://gerrit.cloudera.org:8080/14207
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Gabor Kaszab <gaborkaszab@cloudera.com>
2019-09-11 17:46:17 +00:00
Alex Rodoni
b04488a61a IMPALA-7375: [DOCS] Added DATE functions
Change-Id: I1463731f9ee7fb9ec80d6be2458cffe5c42464b6
Reviewed-on: http://gerrit.cloudera.org:8080/13996
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Attila Jeges <attilaj@cloudera.com>
2019-08-16 15:19:43 +00:00
Alex Rodoni
5670f96b82 [DOCS] Use -- to denote startup flags for consistency
Change-Id: Ia665e3f230f218d8bbf998dfd1ae21338c21b36e
Reviewed-on: http://gerrit.cloudera.org:8080/12908
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Alex Rodoni <arodoni@cloudera.com>
2019-04-02 01:26:24 +00:00
Alex Rodoni
e8ee827a6d [DOCS] Built-in Functions doc format Changes
- The function titles were changed to upper case.
- The function titles no longer use <codeph>. <codeph> font appears
smaller than the <p> font.
- Return type were changed to upper case data types.
- Minor typos were fixed, such as extra commas and periods in titles.
- The indexterm dita elememts were removed. Indexterm was incomplete
and WIP. No plan to go ahead and implement it, so removed.

Change-Id: I797532463da8d29fe5bc7543cfdfb5b2b82db197
Reviewed-on: http://gerrit.cloudera.org:8080/11619
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Michael Brown <mikeb@cloudera.com>
2018-10-10 18:18:09 +00:00
Alex Rodoni
73be15409a IMPALA-5607: Part 1 [DOCS] Return type changes for EXTRACT and DATE_PART
Change-Id: I0a7b1c2f984aac1d6d84480523d07a4125de1f52
Reviewed-on: http://gerrit.cloudera.org:8080/11044
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Reviewed-by: Jinchul Kim <jinchul@gmail.com>
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
2018-07-25 15:46:12 +00:00
Alex Rodoni
eaea7d289a IMPALA-6677: [DOCS] Document the next_day function
Change-Id: I2dacc86ff69a1016b1863d9db66dd29fd832b715
Reviewed-on: http://gerrit.cloudera.org:8080/10893
Reviewed-by: Vuk Ercegovac <vercegovac@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2018-07-20 02:19:34 +00:00
Alex Rodoni
ab5c98c28a 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 <alex.behm@cloudera.com>
Tested-by: Impala Public Jenkins
2018-04-02 21:04:07 +00:00
Alex Rodoni
b62ecb6795 [DOCS] Changed to --use_local_tz_for_unix_timestamp_conversions
Change-Id: Id75ec73031b97aa8a3c61ccdbaea39db008b4093
Reviewed-on: http://gerrit.cloudera.org:8080/9620
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
Tested-by: Impala Public Jenkins
2018-03-16 16:36:14 +00:00
Alex Rodoni
f68aa87efd [DOCS] IMPALA-6105 unix_timestamp returns a number of seconds
Added a note that the unix_timestamp function returns a number of
seconds.

Change-Id: Ie502322368c0052d4767191cf8f7ecb7ac5e7a16
Reviewed-on: http://gerrit.cloudera.org:8080/9084
Reviewed-by: John Russell <jrussell@cloudera.com>
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
Tested-by: Impala Public Jenkins
2018-01-23 22:26:32 +00:00
John Russell
1f4d687a9b IMPALA-5317: [DOCS] Doc for DATE_TRUNC() function
Change-Id: Ifcf38903bb10db12cbb8d73a2dc875aef29cd359
Reviewed-on: http://gerrit.cloudera.org:8080/8768
Reviewed-by: Tim Armstrong <tarmstrong@cloudera.com>
Tested-by: Impala Public Jenkins
2018-01-10 18:41:31 +00:00
John Russell
36cd610d6b IMPALA-5529: [DOCS] New trunc() signatures
Change-Id: Ice4753dee4f7b8e09c35508a9cad1e36f4ab2826
Reviewed-on: http://gerrit.cloudera.org:8080/8189
Reviewed-by: Greg Rahn <grahn@cloudera.com>
Reviewed-by: Thomas Tauber-Marshall <tmarshall@cloudera.com>
Tested-by: Impala Public Jenkins
2017-10-06 22:29:55 +00:00
John Russell
6ff54ab3b6 IMPALA-3504: [DOCS] Document utc_timestamp()
This function seems to be related to
unix_micros_to_utc_timestamp() and
utc_to_unix_micros() which are also not
currently documented. Did they all come in
at the same time or have the *unix_micros*
ones existed for a while?

Change-Id: Ia2662fc79d588f22a24a5067429a57b3c0d0f0f0
Reviewed-on: http://gerrit.cloudera.org:8080/8190
Reviewed-by: Greg Rahn <grahn@cloudera.com>
Reviewed-by: Lars Volker <lv@cloudera.com>
Tested-by: Impala Public Jenkins
2017-10-06 19:10:22 +00:00
John Russell
e6594bf028 IMPALA-2190: [DOCS] from_timestamp() and to_timestamp()
These functions have been around for a while but didn't
get picked up in the big wave of built-in functions
documented in Impala 2.3.
Change-Id: I5f6dfd3fb99a70975d712bbef6c05900eddadd27
(cherry picked from commit 60b7540c9938c6d4fcff26d610cd8c0b0ef6cbce)
Reviewed-on: http://gerrit.cloudera.org:8080/8046
Reviewed-by: Alex Behm <alex.behm@cloudera.com>
Tested-by: Impala Public Jenkins
2017-10-06 06:51:31 +00:00
John Russell
158fd330b8 IMPALA-5316: [DOCS] Document last_day() function
Change-Id: I38c826abfa196bc1e6aecc2b98e158dc0ac76921
Reviewed-on: http://gerrit.cloudera.org:8080/7682
Reviewed-by: Greg Rahn <grahn@cloudera.com>
Reviewed-by: Matthew Jacobs <mj@cloudera.com>
Tested-by: Impala Public Jenkins
2017-08-16 18:38:46 +00:00
John Russell
07d3cea1f0 [DOCS] Clean up trailing spaces
The pre-commit hook that used to detect
and fix trailing spaces in doc XML files
seems to have bitrotted and some trailing
spaces made it into source files during the
initial upstream cleanup.

Change-Id: Ieeb6a7d557c37be981add8353cbd1756f2e1e423
Reviewed-on: http://gerrit.cloudera.org:8080/7373
Reviewed-by: Michael Brown <mikeb@cloudera.com>
Tested-by: Impala Public Jenkins
2017-07-07 17:10:32 +00:00
Greg Rahn
03734fe870 [DOCS] add EPOCH to list of units supported.
Per fe/src/test/java/org/apache/impala/analysis/AnalyzeExprsTest.java#L1593

Change-Id: I1e62f295efaa9084a6da682fd04bfb067ec5e4e8
Reviewed-on: http://gerrit.cloudera.org:8080/7342
Reviewed-by: John Russell <jrussell@cloudera.com>
Tested-by: Impala Public Jenkins
2017-07-06 21:23:34 +00:00
John Russell
621af4b7cf IMPALA-5137: [DOCS] Document TIMESTAMP for Kudu tables
Change-Id: Ib889198eb2c918c969c7613dd1ddf65a801f7926
Reviewed-on: http://gerrit.cloudera.org:8080/7035
Reviewed-by: Matthew Jacobs <mj@cloudera.com>
Tested-by: Impala Public Jenkins
2017-06-06 20:32:44 +00:00
John Russell
ff5d1ceb0d IMPALA-3402: [DOCS] Remove more stray CDH references
A number of 'CDH' by itself were turned into substitution
variables resolving to 'Apache Hadoop'.

Also fixed some stray instances of CDH version numbers.

In some cases, 'CDH' or 'CDH 5' by itself was superfluous and was
just removed.

Change-Id: I979ea73ccaa5873d4108545f18f598072fb5e05f
Reviewed-on: http://gerrit.cloudera.org:8080/6352
Reviewed-by: John Russell <jrussell@cloudera.com>
Tested-by: Impala Public Jenkins
2017-03-13 22:01:09 +00:00
John Russell
f3820e6205 MPALA-3402: [DOCS] Remove CDH- JIRA numbers from rev=
For history and tracking purposes, there are many
instances of rev="CDH-1234" for various CDH- JIRA
numbers. This produces no visible output, it's just
FYI for the person editing the source. Removing all
these now from the upstream doc source, so as not
to have "CDH" all through the doc source files.

Change-Id: I29089e5a31cd72e876b2ccb8375d1c10693c6aba
Reviewed-on: http://gerrit.cloudera.org:8080/6349
Reviewed-by: Ambreen Kazi <ambreen.kazi@cloudera.com>
Reviewed-by: John Russell <jrussell@cloudera.com>
Tested-by: Impala Public Jenkins
2017-03-10 23:56:51 +00:00
John Russell
8377b9949c Global search/replace: audience="Cloudera" -> audience="hidden".
For this change to land in master, the audience="hidden" code review
needs to be completed first. Otherwise, the doc build would still work
but the audience="hidden" content would be visible rather than hidden as
desired.

Some work happening in parallel might introduce additional instances of
audience="Cloudera". I suggest addressing those in a followup CR so this
global change can land quickly.

Since the changes apply across so many different files, but are so
narrow in scope, I suggest that the way to validate (check that no
extraneous changes were introduced accidentally) is to diff just the
changed lines:

git diff -U0 HEAD^ HEAD

In patch set 2, I updated other topics marked audience="Cloudera"
by CRs that were pushed in the meantime.

Change-Id: Ic93d89da77e1f51bbf548a522d98d0c4e2fb31c8
Reviewed-on: http://gerrit.cloudera.org:8080/5613
Reviewed-by: John Russell <jrussell@cloudera.com>
Tested-by: Impala Public Jenkins
2017-01-18 19:31:57 +00:00
Jim Apple
d484d2f684 Add Apache license header to files in doc directory
This now gives a clean RAT check with bin/check-rat-report.py, which
is one way for the Impala community to check compliance with ASF rules
on intellectual property.

Change-Id: I2ad06435f84a65ba126759e42a18fdaf52cd7036
Reviewed-on: http://gerrit.cloudera.org:8080/5232
Reviewed-by: Jim Apple <jbapple-impala@apache.org>
Tested-by: Impala Public Jenkins
Reviewed-by: John Russell <jrussell@cloudera.com>
2016-12-02 23:54:32 +00:00
Jim Apple
3be0f122a5 IMPALA-3398: Add docs to main Impala branch.
These are refugees from doc_prototype. They can be rendered with the
DITA Open Toolkit version 2.3.3 by:

/tmp/dita-ot-2.3.3/bin/dita \
  -i impala.ditamap \
  -f html5 \
  -o $(mktemp -d) \
  -filter impala_html.ditaval

Change-Id: I8861e99adc446f659a04463ca78c79200669484f
Reviewed-on: http://gerrit.cloudera.org:8080/5014
Reviewed-by: John Russell <jrussell@cloudera.com>
Tested-by: John Russell <jrussell@cloudera.com>
2016-11-17 22:38:44 +00:00