You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Merged PR 1756293: [MSJSON] json_arrayagg support for scriptdom
## Description
This pull request introduces full support for the JSON_ARRAYAGG function in ScriptDom by extending the T-SQL grammar and code generation, along with updated test cases to validate the new functionality. Json_ArrayAgg with options NULL ON NULL/ABSENT ON NULL and RETURNING JSON are supported.
* Merged PR 1777076: Adding missing event CREATE_JSON_INDEX
# Pull Request Template for ScriptDom
## Description
Adding missing JSON index event to the event type enum.
Adding missing event CREATE_JSON_INDEX
* Merged PR 1781082: Adding regexp_like syntax
Regexp_like function works as a boolean expression similar to LIKE, MATCH starting from compat level 170.
Adding regexp_like syntax
Related work items: #4005966
* Merged PR 1762947: Nested CTE Implementation - Fabric DW
In this PR we modify the Fabric DW Grammar to support Nested Common Table Expressions with the following syntax:
```
WITH <NESTED_CTE_NAME_LEVEL1> [ (column_name , ...) ] AS
(WITH <NESTED_CTE_NAME_LEVEL2> [ (column_name , ...) ] AS
(
...
WITH <NESTED_CTE_NAME_LEVELn-1> [ ( column_name , ...) ] AS
(
WITH <NESTED_CTE_NAME_LEVELn> [ ( column_name , ...) ] AS
(
Standard_CTE_query_definition
)
<SELECT statement> -- Data source must include NESTED_CTE_NAME_LEVELn
)
<SELECT statement> -- Data source must include NESTED_CTE_NAME_LEVELn-1
...
)
<SELECT statement> -- Data source must include NESTED_CTE_NAME_LEVEL2
)
```
This is derived from public [Nested CTE Documentation](https://learn.microsoft.com/en-us/sql/t-sql/queries/nested-common-table-expression?view=sql-server-ver16).
Work Item: https://dev.azure.com/powerbi/AI/_workitems/edit/1672555/
* Merged PR 1785976: [AI_GENERATE_CHUNKS] ENABLE_CHUNK_SET_ID to Integer
# Pull Request Template for ScriptDom
## Description
This PR changes the optional parameter ENABLE_CHUNK_SET_ID of AI_GENERATE_CHUNKS from expression to integer/null only.
* Merged PR 1780003: Fixed a bug when parsing json keyvalue parameter
Some of json functions accept json key value and the key value can be with or without single quote. The problem comes when the parser assumes any name and ':' should be parsed as a label. and label are not supported as function parameters. since it's not easy to differentiate between a label and json value, had to change the parser to accept label as function parameter and then parse it as column reference.
Fixed a bug when parsing json keyvalue parameter
* Merged PR 1787157: Adding release notes for 170.100
Adding release notes for 170.0.96
<ClassName="WithCtesAndXmlNamespaces"Summary="This class represents a common construct that can have common table expressions and xml namespaces in it.">
241
242
<MemberName="XmlNamespaces"Type="XmlNamespaces"Summary="The xml namespaces. May be null."/>
@@ -349,6 +350,11 @@
349
350
<MemberName="OdbcEscape"Type="bool"Summary="True if escape is defined using odbc delimiters."/>
350
351
<MemberName="EscapeExpression"Type="ScalarExpression"Summary="The escape expression. Optional may be null."/>
351
352
</Class>
353
+
<ClassName="RegexpLikePredicate"Base="BooleanExpression"Summary="Represents the REGEXP_LIKE boolean predicate.">
354
+
<MemberName="Text"Type="ScalarExpression"Summary="The text to match against the pattern."/>
if(node.Parameters?.Count>0&&node?.AbsentOrNullOnNull?.Count>0)//If there are values and null on null or absent on null present then generate space in between them
if(node.Parameters?.Count>0&&node?.AbsentOrNullOnNull?.Count>0)//If there are values and null on null or absent on null present then generate space in between them
0 commit comments