Conversation
| "min" => AggregateFunction::Min, | ||
| "max" => AggregateFunction::Max, | ||
| "count" => AggregateFunction::Count, | ||
| // general |
There was a problem hiding this comment.
just reorganizing, to be similar to how it looks in the sql doc, and group them together here a bit better
| "asin" => BuiltinScalarFunction::Asin, | ||
| "atan" => BuiltinScalarFunction::Atan, | ||
| "acosh" => BuiltinScalarFunction::Acosh, | ||
| "asin" => BuiltinScalarFunction::Asin, |
| +----------+----------+----------+----------+ | ||
| ``` | ||
|
|
||
| ### NATURAL JOIN |
Yes I agree -- thank you @Jefffrey I don't have a good story for keeping the docs in sync. I will try and remember to verify the docs / ask for changes, but if we rely on a human process we'll likely always be behind -- automation is our best hope I think. Here is one idea to keep the function reference more in sync: #3092 There probably needs to be more too |
| ```sql | ||
| -- create schema emu under catalog cat | ||
| CREATE SCHEMA cat.emu; | ||
| ``` |
There was a problem hiding this comment.
I didn't know this worked ❤️ but I tried it out
8 rows in set. Query took 0.014 seconds.
❯ create table cat.emu.dog(x int);
0 rows in set. Query took 0.000 seconds.
❯ show tables;
+---------------+--------------------+-------------+------------+
| table_catalog | table_schema | table_name | table_type |
+---------------+--------------------+-------------+------------+
| cat | emu | dog | BASE TABLE |
| cat | information_schema | tables | VIEW |
| cat | information_schema | views | VIEW |
| cat | information_schema | columns | VIEW |
| cat | information_schema | df_settings | VIEW |
| datafusion | information_schema | tables | VIEW |
| datafusion | information_schema | views | VIEW |
| datafusion | information_schema | columns | VIEW |
| datafusion | information_schema | df_settings | VIEW |
+---------------+--------------------+-------------+------------+
9 rows in set. Query took 0.001 seconds.
| ## JOIN clause | ||
|
|
||
| DataFusion supports `INNER JOIN`, `LEFT OUTER JOIN`, `RIGHT OUTER JOIN`, `FULL OUTER JOIN`, and `CROSS JOIN`. | ||
| DataFusion supports `INNER JOIN`, `LEFT OUTER JOIN`, `RIGHT OUTER JOIN`, `FULL OUTER JOIN`, `NATURAL JOIN` and `CROSS JOIN`. |
There was a problem hiding this comment.
We also support SEMI JOIN and ANTI Join (can be documented in some other PR)
❯ create table foo(x int) as values (1);
0 rows in set. Query took 0.009 seconds.
❯ create table bar(x int) as values (1);
0 rows in set. Query took 0.001 seconds.
❯ select foo.x from foo left semi join bar using (x);
+---+
| x |
+---+
| 1 |
Which issue does this PR close?
Related to #3058
Rationale for this change
Update sql doc and do some touching up
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?