Edgar Melendrez
5b94839d9d
[Docs] Batch08: adding examples to string functions ( #16871 )
...
* batch08 completed
* reviewing batch08
* apply corrections suggestions by @FrankChen021
2024-08-16 10:15:30 +08:00
Edgar Melendrez
ebea34a814
[Docs] Batch06: starting string functions ( #16838 )
...
* batch06, starting string functions
* addind space after Syntax
* quick change
* correcting spelling
* Update docs/querying/sql-functions.md
* Update sql-functions.md
* applying suggestions
* Update docs/querying/sql-functions.md
* Update docs/querying/sql-functions.md
---------
Co-authored-by: Benedict Jin <asdf2014@apache.org>
Co-authored-by: Charles Smith <techdocsmith@gmail.com>
2024-08-06 11:32:26 -07:00
Edgar Melendrez
3bb6d40285
[docs] batch 5 updating functions ( #16812 )
...
* batch 5
* Update docs/querying/sql-functions.md
* applying suggestions
---------
Co-authored-by: Benedict Jin <asdf2014@apache.org>
2024-07-30 17:30:01 -07:00
Edgar Melendrez
85a8a1d805
[Docs]Batch04 - Bitwise numeric functions ( #16805 )
...
* Batch04 - Bitwise numeric functions
* Batch04 - Bitwise numeric functions
* minor fixes
* rewording bitwise_shift functions
* rewording bitwise_shift functions
* Update docs/querying/sql-functions.md
* applying suggestions
---------
Co-authored-by: Benedict Jin <asdf2014@apache.org>
2024-07-30 10:53:59 -07:00
Edgar Melendrez
028ee23a1e
[Docs] batch 03 - trig functions ( #16795 )
...
* batch 03 - trig functions
* Apply suggestions from code review
Co-authored-by: Charles Smith <techdocsmith@gmail.com>
* applying suggestions and corrections
---------
Co-authored-by: Charles Smith <techdocsmith@gmail.com>
2024-07-26 13:11:17 -07:00
Edgar Melendrez
ca787885c9
[docs] batch02 of updating functions ( #16761 )
...
* applying changes
* ensuring batch is updated
* Update docs/querying/sql-functions.md
* raise -> raises
* addressing review
* Apply suggestions from code review
Co-authored-by: Charles Smith <techdocsmith@gmail.com>
---------
Co-authored-by: Benedict Jin <asdf2014@apache.org>
Co-authored-by: Charles Smith <techdocsmith@gmail.com>
2024-07-24 15:28:57 -07:00
Edgar Melendrez
721a65046f
docs: add examples for SQL functions ( #16745 )
...
* updating first batch of numeric functions
* First batch of functions
* addressing first few comments
* alphabetize list
* draft with suggestions applied
* minor discrepency expr -> <NUMERIC>
* changed raises to calculates
* Update docs/querying/sql-functions.md
* switch to underscore
* changed to exp(1) to match slack message
* adding html text for trademark symbol to .spelling
* fixed discrepancy between description and example
---------
Co-authored-by: Benedict Jin <asdf2014@apache.org>
2024-07-18 17:06:22 -07:00
Victoria Lim
836cdb48a5
docs: Migration guide for MVDs to arrays ( #16516 )
...
Co-authored-by: Clint Wylie <cjwylie@gmail.com>
Co-authored-by: Katya Macedo <38017980+ektravel@users.noreply.github.com>
Co-authored-by: Benedict Jin <asdf2014@apache.org>
Co-authored-by: Katya Macedo <38017980+ektravel@users.noreply.github.com>
2024-06-13 13:05:58 -07:00
Gian Merlino
db82adcdfd
SCALAR_IN_ARRAY: Optimization and behavioral follow-ups. ( #16311 )
...
* Four changes to scalar_in_array as follow-ups to #16306 :
1) Align behavior for `null` scalars to the behavior of the native `in` and `inType` filters: return `true` if the array itself contains null, else return `null`.
2) Rename the class to more closely match the function name.
3) Add a specialization for constant arrays, where we build a `HashSet`.
4) Use `castForEqualityComparison` to properly handle cross-type comparisons.
Additional tests verify comparisons between LONG and DOUBLE are now
handled properly.
* Fix spelling.
* Adjustments from review.
2024-04-26 16:01:17 -07:00
Sree Charan Manamala
ad5701e891
new SCALAR_IN_ARRAY function analogous to DRUID_IN ( #16306 )
...
* scalar_in function
* api doc
* refactor
2024-04-18 21:15:15 -07:00
Charles Smith
3caacba8c5
update window functions doc ( #15902 )
...
Co-authored-by: Victoria Lim <vtlim@users.noreply.github.com>
2024-03-07 15:16:52 -08:00
Clint Wylie
dad8398a4d
start process of deprecating non-sql compatible legacy configurations ( #15713 )
...
Starting the process to officially deprecate non SQL compatible modes by updating docs to aggressively call out that Druids non SQL compliant modes are deprecated and will go away someday. There are no code or behavior changes at this PR.
2024-02-13 15:31:45 +05:30
Clint Wylie
e8fcf2cac8
minor doc adjustments ( #15531 )
2023-12-11 18:22:44 -08:00
Katya Macedo
fc222377ae
[Docs] Document decode_base64_complex and decode_base64_utf8 functions ( #15444 )
2023-12-11 09:12:06 -08:00
sb89594
5fda8613ad
Feature: Add IPv6 Match Function ( #15212 )
2023-12-07 23:09:06 -08:00
Pranav
93cd638645
Enabling aggregateMultipleValues in all StringAnyAggregators ( #15434 )
...
* Enabling aggregateMultipleValues in all StringAnyAggregators
* Adding more tests
* More validation
* fix warning
* updating asserts in decoupled mode
* fix intellij inspection
* Addressing comments
* Addressing comments
* Adding early validations and make aggregate consistent across all
* fixing tests
* fixing tests
* Update docs/querying/sql-aggregations.md
Co-authored-by: Clint Wylie <cjwylie@gmail.com>
* fixing static check
---------
Co-authored-by: Clint Wylie <cjwylie@gmail.com>
2023-11-29 14:32:49 -08:00
Charles Smith
6a5da5a05e
fix redirect for api docs and misc array-related typos ( #15387 )
...
Co-authored-by: 317brian <53799971+317brian@users.noreply.github.com>
2023-11-16 13:29:19 -08:00
Pranav
f1edd671fb
Exposing optional replaceMissingValueWith in lookup function and macros ( #14956 )
...
* Exposing optional replaceMissingValueWith in lookup function and macros
* args range validation
* Updating docs
* Addressing comments
* Update docs/querying/sql-scalar.md
Co-authored-by: Clint Wylie <cjwylie@gmail.com>
* Update docs/querying/sql-functions.md
Co-authored-by: Clint Wylie <cjwylie@gmail.com>
* Addressing comments
---------
Co-authored-by: Clint Wylie <cjwylie@gmail.com>
2023-10-02 17:09:23 -07:00
Zoltan Haindrich
e806d09309
Allow EARLIEST/EARLIEST_BY/LATEST/LATEST_BY for STRING columns without specifying maxStringBytes ( #14848 )
2023-08-22 22:50:19 -07:00
Clint Wylie
5d1412949e
enable sql compatible null handling mode by default ( #14792 )
...
* enable sql compatible null handling mode by default
* fix bug with string first/last aggs when druid.generic.useDefaultValueForNull=false
2023-08-21 20:07:13 -07:00
317brian
6b4dda964d
Docusaurus2 upgrade for master ( #14411 )
...
Co-authored-by: Victoria Lim <vtlim@users.noreply.github.com>
Co-authored-by: Charles Smith <techdocsmith@gmail.com>
2023-08-16 19:01:21 -07:00
Gian Merlino
e10e35aa2c
Add REGEXP_REPLACE function. ( #14460 )
...
* Add REGEXP_REPLACE function.
Replaces all instances of a pattern with a replacement string.
* Fixes.
* Improve test coverage.
* Adjust behavior.
2023-06-29 13:47:57 -07:00
317brian
70952c0977
docs: add sql array functions to nav ( #14361 )
...
* docs: add sql array functions to nav
* fix typo
* add sql array functions to list
* fix spelling errors
2023-06-01 16:45:27 -07:00
317brian
7e572eef08
docs: sql unnest and cleanup unnest datasource ( #13736 )
...
Co-authored-by: Elliott Freis <elliottfreis@Elliott-Freis.earth.dynamic.blacklight.net>
Co-authored-by: Charles Smith <techdocsmith@gmail.com>
Co-authored-by: Victoria Lim <vtlim@users.noreply.github.com>
Co-authored-by: Katya Macedo <38017980+ektravel@users.noreply.github.com>
Co-authored-by: Paul Rogers <paul-rogers@users.noreply.github.com>
Co-authored-by: Jill Osborne <jill.osborne@imply.io>
Co-authored-by: Anshu Makkar <83963638+anshu-makkar@users.noreply.github.com>
Co-authored-by: Abhishek Agarwal <1477457+abhishekagarwal87@users.noreply.github.com>
Co-authored-by: Elliott Freis <108356317+imply-elliott@users.noreply.github.com>
Co-authored-by: Nicholas Lippis <nick.lippis@imply.io>
Co-authored-by: Rohan Garg <7731512+rohangarg@users.noreply.github.com>
Co-authored-by: Karan Kumar <karankumar1100@gmail.com>
Co-authored-by: Vadim Ogievetsky <vadim@ogievetsky.com>
Co-authored-by: Gian Merlino <gianmerlino@gmail.com>
Co-authored-by: Clint Wylie <cwylie@apache.org>
Co-authored-by: Adarsh Sanjeev <adarshsanjeev@gmail.com>
Co-authored-by: Laksh Singla <lakshsingla@gmail.com>
2023-04-04 13:07:54 -07:00
frankgrimes97
2f98675285
Tuple sketch SQL support ( #13887 )
...
This PR is a follow-up to #13819 so that the Tuple sketch functionality can be used in SQL for both ingestion using Multi-Stage Queries (MSQ) and also for analytic queries against Tuple sketch columns.
2023-03-28 18:47:12 +05:30
Clint Wylie
f8097ccfaa
basic docs for nested column query functions ( #12922 )
...
* basic docs for nested column query functions
2022-08-19 17:12:19 -07:00
Victoria Lim
d8f8c56f94
Docs: Index page with all SQL functions ( #12771 )
...
* list of all functions
* add function names to spelling file
2022-07-14 09:59:55 +08:00