From dac201d5c4944890d747716f83333432663f6b2d Mon Sep 17 00:00:00 2001 From: Sai Sriharsha Annepu <72639930+gs-ssh16@users.noreply.github.com> Date: Thu, 14 Nov 2024 22:18:48 +0530 Subject: [PATCH] Use fast json deserialize function in sql parsing (#3249) --- .../postgresSqlParser.pure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-postgresSql/legend-engine-pure-functions-relationalStore-postgresSql-parser/src/main/resources/core_external_store_relational_postgres_sql_parser/postgresSqlParser.pure b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-postgresSql/legend-engine-pure-functions-relationalStore-postgresSql-parser/src/main/resources/core_external_store_relational_postgres_sql_parser/postgresSqlParser.pure index 617d291673c..a52b423840c 100644 --- a/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-postgresSql/legend-engine-pure-functions-relationalStore-postgresSql-parser/src/main/resources/core_external_store_relational_postgres_sql_parser/postgresSqlParser.pure +++ b/legend-engine-xts-relationalStore/legend-engine-xt-relationalStore-generation/legend-engine-xt-relationalStore-postgresSql/legend-engine-pure-functions-relationalStore-postgresSql-parser/src/main/resources/core_external_store_relational_postgres_sql_parser/postgresSqlParser.pure @@ -22,7 +22,7 @@ native function <> meta::external::store::relational::postgresSq function meta::external::store::relational::postgresSql::parser::parseSqlStatement(sql: String[1]): Statement[1] { let statementJson = $sql->parseSqlStatementToJson(); - $statementJson->fromJSON( + $statementJson->fromJson( Statement, ^JSONDeserializationConfig( typeKeyName = '_type',