<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Loading xml data from sql table into snowflake variant data type in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Loading-xml-data-from-sql-table-into-snowflake-variant-data-type/m-p/2373320#M136059</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000KCzggAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148330i7C858BDEC057B0D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000KCzggAAD.png" alt="0695b00000KCzggAAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 16:00:09 GMT</pubDate>
    <dc:creator>ar7368</dc:creator>
    <dc:date>2021-10-28T16:00:09Z</dc:date>
    <item>
      <title>Loading xml data from sql table into snowflake variant data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loading-xml-data-from-sql-table-into-snowflake-variant-data-type/m-p/2373319#M136058</link>
      <description>&lt;P&gt;I'm trying to load xml data from sql server table ( has varcharmax column with xml data) to snowflake table with variant data type.. i get the following error. I'm able to load the same into snowflake if the datatype in snowflake is varchar. How do i load this data into variant datatype in snowflake?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[FATAL] 10:54:18 snowflake.bedmaster_snowflake_0_1.Bedmaster_Snowflake- tDBOutput_2 net.snowflake.client.loader.Loader$ConnectionError: State: CREATE_TEMP_TABLE, CREATE TEMPORARY TABLE "TESTDT_20211028_105416_423_1" LIKE "TESTDT", SQL compilation error:&lt;/P&gt;&lt;P&gt;cannot drop all the columns of a table&lt;/P&gt;&lt;P&gt;java.io.IOException: net.snowflake.client.loader.Loader$ConnectionError: State: CREATE_TEMP_TABLE, CREATE TEMPORARY TABLE "TESTDT_20211028_105416_423_1" LIKE "TESTDT", SQL compilation error:&lt;/P&gt;&lt;P&gt;cannot drop all the columns of a table&lt;/P&gt;&lt;P&gt;	at org.talend.components.snowflake.runtime.SnowflakeWriter.close(SnowflakeWriter.java:502) ~[components-snowflake-runtime-0.34.0.jar:?]&lt;/P&gt;&lt;P&gt;	at org.talend.components.snowflake.runtime.SnowflakeWriter.close(SnowflakeWriter.java:59) ~[components-snowflake-runtime-0.34.0.jar:?]&lt;/P&gt;&lt;P&gt;	at snowflake.bedmaster_snowflake_0_1.Bedmaster_Snowflake.tDBInput_1Process(Bedmaster_Snowflake.java:2062) [bedmaster_snowflake_0_1.jar:?]&lt;/P&gt;&lt;P&gt;	at snowflake.bedmaster_snowflake_0_1.Bedmaster_Snowflake.runJobInTOS(Bedmaster_Snowflake.java:3354) [bedmaster_snowflake_0_1.jar:?]&lt;/P&gt;&lt;P&gt;	at snowflake.bedmaster_snowflake_0_1.Bedmaster_Snowflake.main(Bedmaster_Snowflake.java:3114) [bedmaster_snowflake_0_1.jar:?]&lt;/P&gt;&lt;P&gt;Caused by: net.snowflake.client.loader.Loader$ConnectionError: State: CREATE_TEMP_TABLE, CREATE TEMPORARY TABLE "TESTDT_20211028_105416_423_1" LIKE "TESTDT", SQL compilation error:&lt;/P&gt;&lt;P&gt;cannot drop all the columns of a table&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.loader.ProcessQueue.run(ProcessQueue.java:365) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_301]&lt;/P&gt;&lt;P&gt;Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:&lt;/P&gt;&lt;P&gt;cannot drop all the columns of a table&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:124) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:64) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:434) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:338) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:482) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:194) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:131) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.execute(SFStatement.java:737) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.execute(SFStatement.java:635) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.loader.ProcessQueue.run(ProcessQueue.java:122) ~[snowflake-jdbc-3.13.1.jar:3.13.1]&lt;/P&gt;&lt;P&gt;	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_301]&lt;/P&gt;&lt;P&gt;Oct 28, 2021 10:54:18 AM net.snowflake.client.loader.ProcessQueue run&lt;/P&gt;&lt;P&gt;SEVERE: State: CREATE_TEMP_TABLE, CREATE TEMPORARY TABLE "TESTDT_20211028_105416_423_1" LIKE "TESTDT", SQL compilation error:&lt;/P&gt;&lt;P&gt;cannot drop all the columns of a table&lt;/P&gt;&lt;P&gt;Exception in component tDBOutput_2 (Bedmaster_Snowflake)&lt;/P&gt;&lt;P&gt;java.io.IOException: net.snowflake.client.loader.Loader$ConnectionError: State: CREATE_TEMP_TABLE, CREATE TEMPORARY TABLE "TESTDT_20211028_105416_423_1" LIKE "TESTDT", SQL compilation error:&lt;/P&gt;&lt;P&gt;cannot drop all the columns of a table&lt;/P&gt;&lt;P&gt;	at org.talend.components.snowflake.runtime.SnowflakeWriter.close(SnowflakeWriter.java:502)&lt;/P&gt;&lt;P&gt;	at org.talend.components.snowflake.runtime.SnowflakeWriter.close(SnowflakeWriter.java:59)&lt;/P&gt;&lt;P&gt;	at snowflake.bedmaster_snowflake_0_1.Bedmaster_Snowflake.tDBInput_1Process(Bedmaster_Snowflake.java:2062)&lt;/P&gt;&lt;P&gt;	at snowflake.bedmaster_snowflake_0_1.Bedmaster_Snowflake.runJobInTOS(Bedmaster_Snowflake.java:3354)&lt;/P&gt;&lt;P&gt;	at snowflake.bedmaster_snowflake_0_1.Bedmaster_Snowflake.main(Bedmaster_Snowflake.java:3114)&lt;/P&gt;&lt;P&gt;Caused by: net.snowflake.client.loader.Loader$ConnectionError: State: CREATE_TEMP_TABLE, CREATE TEMPORARY TABLE "TESTDT_20211028_105416_423_1" LIKE "TESTDT", SQL compilation error:&lt;/P&gt;&lt;P&gt;cannot drop all the columns of a table&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.loader.ProcessQueue.run(ProcessQueue.java:365)&lt;/P&gt;&lt;P&gt;	at java.lang.Thread.run(Thread.java:748)&lt;/P&gt;&lt;P&gt;Caused by: net.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error:&lt;/P&gt;&lt;P&gt;cannot drop all the columns of a table&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowExceptionSub(SnowflakeUtil.java:124)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.jdbc.SnowflakeUtil.checkErrorAndThrowException(SnowflakeUtil.java:64)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.StmtUtil.pollForOutput(StmtUtil.java:434)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.StmtUtil.execute(StmtUtil.java:338)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.executeHelper(SFStatement.java:482)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.executeQueryInternal(SFStatement.java:194)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.executeQuery(SFStatement.java:131)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.execute(SFStatement.java:737)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.core.SFStatement.execute(SFStatement.java:635)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.jdbc.SnowflakeStatementV1.executeInternal(SnowflakeStatementV1.java:287)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.jdbc.SnowflakeStatementV1.execute(SnowflakeStatementV1.java:337)&lt;/P&gt;&lt;P&gt;	at net.snowflake.client.loader.ProcessQueue.run(ProcessQueue.java:122)&lt;/P&gt;&lt;P&gt;	... 1 more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loading-xml-data-from-sql-table-into-snowflake-variant-data-type/m-p/2373319#M136058</guid>
      <dc:creator>ar7368</dc:creator>
      <dc:date>2024-11-15T23:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Loading xml data from sql table into snowflake variant data type</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Loading-xml-data-from-sql-table-into-snowflake-variant-data-type/m-p/2373320#M136059</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000KCzggAAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148330i7C858BDEC057B0D4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000KCzggAAD.png" alt="0695b00000KCzggAAD.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 16:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Loading-xml-data-from-sql-table-into-snowflake-variant-data-type/m-p/2373320#M136059</guid>
      <dc:creator>ar7368</dc:creator>
      <dc:date>2021-10-28T16:00:09Z</dc:date>
    </item>
  </channel>
</rss>

