Skip to content

Commit

Permalink
Update TestSnowflakeSimpleSemiStructuredMapping.java
Browse files Browse the repository at this point in the history
  • Loading branch information
PrateekGarg-gs authored Sep 12, 2023
1 parent e5520c0 commit 37c1e53
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void testGroupByWithSemiStructuredProperty()
" (\n" +
" type = TDS[(Address, String, \"\", \"\"), (Names, String, VARCHAR(200), \"\")]\n" +
" resultColumns = [(\"Address\", \"\"), (\"Names\", \"\")]\n" +
" sql = select \"root\".FIRM_DETAILS['address']['name']::varchar as \"Address\", listagg(\"root\".FIRSTNAME, ';') as \"Names\" from PERSON_SCHEMA.PERSON_TABLE as \"root\" group by \"root\".FIRM_DETAILS['address']['name']::varchar\n" +
" sql = select \"root\".FIRM_DETAILS['address']['name']::varchar as \"Address\", listagg(\"root\".FIRSTNAME, ';') as \"Names\" from PERSON_SCHEMA.PERSON_TABLE as \"root\" group by \"Address\"\n" +
" connection = RelationalDatabaseConnection(type = \"Snowflake\")\n" +
" )\n";
String TDSType = " type = TDS[(Address, String, \"\", \"\"), (Names, String, VARCHAR(200), \"\")]\n";
Expand Down Expand Up @@ -423,7 +423,7 @@ public void testGroupByOnEnumProperty()
" (\n" +
" type = TDS[(Address, simple::model::EntityType, \"\", \"\"), (Names, String, VARCHAR(200), \"\")]\n" +
" resultColumns = [(\"Address\", \"\"), (\"Names\", \"\")]\n" +
" sql = select \"root\".FIRM_DETAILS['entityType']::varchar as \"Address\", listagg(\"root\".FIRSTNAME, ';') as \"Names\" from PERSON_SCHEMA.PERSON_TABLE as \"root\" group by \"root\".FIRM_DETAILS['entityType']::varchar\n" +
" sql = select \"root\".FIRM_DETAILS['entityType']::varchar as \"Address\", listagg(\"root\".FIRSTNAME, ';') as \"Names\" from PERSON_SCHEMA.PERSON_TABLE as \"root\" group by \"Address\"\n" +
" connection = RelationalDatabaseConnection(type = \"Snowflake\")\n" +
" )\n";
String TDSType = " type = TDS[(Address, simple::model::EntityType, \"\", \"\"), (Names, String, VARCHAR(200), \"\")]\n";
Expand Down

0 comments on commit 37c1e53

Please sign in to comment.