Skip to content

Commit 51b2a05

Browse files
authored
Release v0.10.13 (#2121)
## Analyzer - **Added defensive code to prevent analyzer crashes on DataStage files with empty array references** - Fixes an issue where the DataStage analyzer would crash when encountering empty array references ## Converters ## Morpheus ### General - **Enhanced name representation consistency** - Major refactoring that replaces String representations with Expression types for table names, column names, and constraints across IR nodes, improving SQL/PySpark code generation accuracy - **Fixed DBT parsing issues** - Resolved template parsing problems by changing template markers to `!#Jinja0001#!` format and improving whitespace handling for proper tokenization ### TSQL (Synapse/SQL Server) - **Support for dual OUTPUT clauses in TSQL INSERT/DELETE/UPDATE statements** - Enhanced T-SQL parser to handle complex statements with multiple OUTPUT clauses (OUTPUT ... INTO ... OUTPUT ...) with comprehensive test coverage - **Fixed TSQL DECLARE statement handling** - Refactored DECLARE statement processing by moving logic to dedicated visitor methods and properly marking unsupported statements for future implementation - **Improved BLOCK structure parsing for BEGIN and BEGIN TRY statements** - Updated parser grammar to support flexible scripting blocks and transaction handling, allowing zero or more statements in control flow constructs - **Added comprehensive USE statement support** - Introduced new IR representations (UseCatalog, UseSchema) with dialect-specific AST building logic and proper SQL generation ### Snowflake - **Fixed Snowflake connection tests** - Internal improvements for database connection test reliability - **Added comprehensive USE statement support** - Introduced new IR representations (UseCatalog, UseSchema) with dialect-specific AST building logic and proper SQL generation ## BladeBridge ### General - **Automatically creates and cleans up temporary folders for embedded SQL conversion in wrapper scripts** - Improves workflow management by implicitly creating temp folders and cleaning them up once conversion is complete ### MSSQL (SQL Server) - **Enhanced table variable and temporary table conversion** - Added support for table variable conversion to temporary tables and improved string handling with logic to convert double single quotes to double quotes - **Fixed semicolon placement in nested select statements** - Resolved issue where semicolons appeared before comments in nested select statements - **Improved MS SQL procedure handling** - Added LIMIT 1 for Set in select statements, enhanced function mappings, fixed string concatenation, and removed unsupported constraints ## Reconcile No updates in this release. ## Documentation No updates in this release.
1 parent 8d4e38c commit 51b2a05

File tree

2 files changed

+52
-1
lines changed

2 files changed

+52
-1
lines changed

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,56 @@
11
# Version changelog
22

3+
## 0.10.13
4+
5+
## Analyzer
6+
7+
- **Added defensive code to prevent analyzer crashes on DataStage files with empty array references** - Fixes an issue where the DataStage analyzer would crash when encountering empty array references
8+
9+
## Converters
10+
11+
## Morpheus
12+
13+
### General
14+
- **Enhanced name representation consistency** - Major refactoring that replaces String representations with Expression types for table names, column names, and constraints across IR nodes, improving SQL/PySpark code generation accuracy
15+
16+
- **Fixed DBT parsing issues** - Resolved template parsing problems by changing template markers to `!#Jinja0001#!` format and improving whitespace handling for proper tokenization
17+
### TSQL (Synapse/SQL Server)
18+
19+
- **Support for dual OUTPUT clauses in TSQL INSERT/DELETE/UPDATE statements** - Enhanced T-SQL parser to handle complex statements with multiple OUTPUT clauses (OUTPUT ... INTO ... OUTPUT ...) with comprehensive test coverage
20+
21+
- **Fixed TSQL DECLARE statement handling** - Refactored DECLARE statement processing by moving logic to dedicated visitor methods and properly marking unsupported statements for future implementation
22+
23+
- **Improved BLOCK structure parsing for BEGIN and BEGIN TRY statements** - Updated parser grammar to support flexible scripting blocks and transaction handling, allowing zero or more statements in control flow constructs
24+
25+
- **Added comprehensive USE statement support** - Introduced new IR representations (UseCatalog, UseSchema) with dialect-specific AST building logic and proper SQL generation
26+
27+
### Snowflake
28+
29+
- **Fixed Snowflake connection tests** - Internal improvements for database connection test reliability
30+
31+
- **Added comprehensive USE statement support** - Introduced new IR representations (UseCatalog, UseSchema) with dialect-specific AST building logic and proper SQL generation
32+
33+
## BladeBridge
34+
35+
### General
36+
- **Automatically creates and cleans up temporary folders for embedded SQL conversion in wrapper scripts** - Improves workflow management by implicitly creating temp folders and cleaning them up once conversion is complete
37+
38+
### MSSQL (SQL Server)
39+
40+
- **Enhanced table variable and temporary table conversion** - Added support for table variable conversion to temporary tables and improved string handling with logic to convert double single quotes to double quotes
41+
42+
- **Fixed semicolon placement in nested select statements** - Resolved issue where semicolons appeared before comments in nested select statements
43+
44+
- **Improved MS SQL procedure handling** - Added LIMIT 1 for Set in select statements, enhanced function mappings, fixed string concatenation, and removed unsupported constraints
45+
46+
## Reconcile
47+
48+
No updates in this release.
49+
50+
## Documentation
51+
52+
No updates in this release.
53+
354
## 0.10.12
455

556
## Analyzer
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# DO NOT MODIFY THIS FILE
2-
__version__ = "0.10.12"
2+
__version__ = "0.10.13"

0 commit comments

Comments
 (0)