SqlDataFrame in Expression Language: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
! '''Parameters''' | ! '''Parameters''' | ||
! '''Description''' | ! '''Description''' | ||
|- | |||
||ExcludeValues (SqlDataFrame) | |||
|| | |||
# Column name (string) | |||
# Value (single item) or values (array) to exclude | |||
|| | |||
Same functionality as in the [[DataFrame_in_Expression_Language|DataFrame]]. | |||
|- | |- | ||
||Head (SqlDataFrame) | ||Head (SqlDataFrame) | ||
||Number of top rows | ||Number of top rows | ||
||Same functionality as in the [[DataFrame_in_Expression_Language|DataFrame]]. | || | ||
Same functionality as in the [[DataFrame_in_Expression_Language|DataFrame]]. | |||
|- | |- | ||
||IncludeOnlyValues (SqlDataFrame) | ||IncludeOnlyValues (SqlDataFrame) | ||
Line 20: | Line 28: | ||
# Column name (string) | # Column name (string) | ||
# Value (single item) or values (array) to include | # Value (single item) or values (array) to include | ||
||Same functionality as in the [[DataFrame_in_Expression_Language|DataFrame]]. | || | ||
Same functionality as in the [[DataFrame_in_Expression_Language|DataFrame]]. | |||
|} | |} |
Revision as of 10:37, 5 May 2021
SqlDataFrame represents tabular data similar to a result of an SQL query. Data in the SqlDataFrames are processed in the original datasource where the data is located (not in the QPR ProcessAnalyzer server in-memory). For each SqlDataFrame, there is an SQL query that processes and generates the actual data in the datasource.
Running SqlDataFrames and operations between them don't yet execute the SQL in the original datasource. This happens when the Collect function is called for an SqlDataFrame, which executes the SQL query of the SqlDataFrames and loads the data into QPR ProcessAnalyzer server in-memory dataframe (where it can be presented in a dashboard).
Each SqlDataFrames knows the datasource where the SQL query is executed.
There is a similar API for the SqlDataFrames as there is for the DataFrames.
SqlDataFrame functions | Parameters | Description |
---|---|---|
ExcludeValues (SqlDataFrame) |
|
Same functionality as in the DataFrame. |
Head (SqlDataFrame) | Number of top rows |
Same functionality as in the DataFrame. |
IncludeOnlyValues (SqlDataFrame) |
|
Same functionality as in the DataFrame. |