This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable access to the field keyword in the new SQL engine (#1025)
* update * add breaking change doc
- Loading branch information
Showing
9 changed files
with
69 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,14 +32,14 @@ PPL query:: | |
|
||
od> source=accounts; | ||
fetched rows / total rows = 4/4 | ||
+------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------+ | ||
| account_number | firstname | address | gender | city | lastname | balance | employer | state | age | email | | ||
|------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------| | ||
| 1 | Amber | 880 Holmes Lane | M | Brogan | Duke | 39225 | Pyrami | IL | 32 | [email protected] | | ||
| 6 | Hattie | 671 Bristol Street | M | Dante | Bond | 5686 | Netagy | TN | 36 | [email protected] | | ||
| 13 | Nanette | 789 Madison Street | F | Nogal | Bates | 32838 | Quility | VA | 28 | null | | ||
| 18 | Dale | 467 Hutchinson Court | M | Orick | Adams | 4180 | null | MD | 33 | [email protected] | | ||
+------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------+ | ||
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+ | ||
| account_number | firstname | address | balance | gender | city | employer | state | age | email | lastname | | ||
|------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------| | ||
| 1 | Amber | 880 Holmes Lane | 39225 | M | Brogan | Pyrami | IL | 32 | [email protected] | Duke | | ||
| 6 | Hattie | 671 Bristol Street | 5686 | M | Dante | Netagy | TN | 36 | [email protected] | Bond | | ||
| 13 | Nanette | 789 Madison Street | 32838 | F | Nogal | Quility | VA | 28 | null | Bates | | ||
| 18 | Dale | 467 Hutchinson Court | 4180 | M | Orick | null | MD | 33 | [email protected] | Adams | | ||
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+ | ||
|
||
Example 2: Fetch data with condition | ||
==================================== | ||
|
@@ -50,10 +50,10 @@ PPL query:: | |
|
||
od> source=accounts account_number=1 or gender="F"; | ||
fetched rows / total rows = 2/2 | ||
+------------------+-------------+--------------------+----------+--------+------------+-----------+------------+---------+-------+----------------------+ | ||
| account_number | firstname | address | gender | city | lastname | balance | employer | state | age | email | | ||
|------------------+-------------+--------------------+----------+--------+------------+-----------+------------+---------+-------+----------------------| | ||
| 1 | Amber | 880 Holmes Lane | M | Brogan | Duke | 39225 | Pyrami | IL | 32 | [email protected] | | ||
| 13 | Nanette | 789 Madison Street | F | Nogal | Bates | 32838 | Quility | VA | 28 | null | | ||
+------------------+-------------+--------------------+----------+--------+------------+-----------+------------+---------+-------+----------------------+ | ||
+------------------+-------------+--------------------+-----------+----------+--------+------------+---------+-------+----------------------+------------+ | ||
| account_number | firstname | address | balance | gender | city | employer | state | age | email | lastname | | ||
|------------------+-------------+--------------------+-----------+----------+--------+------------+---------+-------+----------------------+------------| | ||
| 1 | Amber | 880 Holmes Lane | 39225 | M | Brogan | Pyrami | IL | 32 | [email protected] | Duke | | ||
| 13 | Nanette | 789 Madison Street | 32838 | F | Nogal | Quility | VA | 28 | null | Bates | | ||
+------------------+-------------+--------------------+-----------+----------+--------+------------+---------+-------+----------------------+------------+ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,14 +40,14 @@ Here are examples for using index pattern directly without quotes:: | |
|
||
od> SELECT * FROM *cc*nt*; | ||
fetched rows / total rows = 4/4 | ||
+------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------+ | ||
| account_number | firstname | address | gender | city | lastname | balance | employer | state | age | email | | ||
|------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------| | ||
| 1 | Amber | 880 Holmes Lane | M | Brogan | Duke | 39225 | Pyrami | IL | 32 | [email protected] | | ||
| 6 | Hattie | 671 Bristol Street | M | Dante | Bond | 5686 | Netagy | TN | 36 | [email protected] | | ||
| 13 | Nanette | 789 Madison Street | F | Nogal | Bates | 32838 | Quility | VA | 28 | null | | ||
| 18 | Dale | 467 Hutchinson Court | M | Orick | Adams | 4180 | null | MD | 33 | [email protected] | | ||
+------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------+ | ||
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+ | ||
| account_number | firstname | address | balance | gender | city | employer | state | age | email | lastname | | ||
|------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------| | ||
| 1 | Amber | 880 Holmes Lane | 39225 | M | Brogan | Pyrami | IL | 32 | [email protected] | Duke | | ||
| 6 | Hattie | 671 Bristol Street | 5686 | M | Dante | Netagy | TN | 36 | [email protected] | Bond | | ||
| 13 | Nanette | 789 Madison Street | 32838 | F | Nogal | Quility | VA | 28 | null | Bates | | ||
| 18 | Dale | 467 Hutchinson Court | 4180 | M | Orick | null | MD | 33 | [email protected] | Adams | | ||
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+ | ||
|
||
|
||
Delimited Identifiers | ||
|
@@ -76,14 +76,14 @@ Here are examples for quoting an index name by back ticks:: | |
|
||
od> SELECT * FROM `accounts`; | ||
fetched rows / total rows = 4/4 | ||
+------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------+ | ||
| account_number | firstname | address | gender | city | lastname | balance | employer | state | age | email | | ||
|------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------| | ||
| 1 | Amber | 880 Holmes Lane | M | Brogan | Duke | 39225 | Pyrami | IL | 32 | [email protected] | | ||
| 6 | Hattie | 671 Bristol Street | M | Dante | Bond | 5686 | Netagy | TN | 36 | [email protected] | | ||
| 13 | Nanette | 789 Madison Street | F | Nogal | Bates | 32838 | Quility | VA | 28 | null | | ||
| 18 | Dale | 467 Hutchinson Court | M | Orick | Adams | 4180 | null | MD | 33 | [email protected] | | ||
+------------------+-------------+----------------------+----------+--------+------------+-----------+------------+---------+-------+-----------------------+ | ||
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+ | ||
| account_number | firstname | address | balance | gender | city | employer | state | age | email | lastname | | ||
|------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------| | ||
| 1 | Amber | 880 Holmes Lane | 39225 | M | Brogan | Pyrami | IL | 32 | [email protected] | Duke | | ||
| 6 | Hattie | 671 Bristol Street | 5686 | M | Dante | Netagy | TN | 36 | [email protected] | Bond | | ||
| 13 | Nanette | 789 Madison Street | 32838 | F | Nogal | Quility | VA | 28 | null | Bates | | ||
| 18 | Dale | 467 Hutchinson Court | 4180 | M | Orick | null | MD | 33 | [email protected] | Adams | | ||
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+ | ||
|
||
|
||
Case Sensitivity | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters