<?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: How to execute a &amp;quot;ALTER TABLE&amp;quot; ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315415#M86070</link>
    <description>I've tried something similar with a tMysqlRow with a request on Talend 2.0.0 - java version
&lt;BR /&gt;My tMySQLRow contains many request :
&lt;BR /&gt;"delete from XXXX; Insert into XXX (....) VALUES (...); ...'
&lt;BR /&gt;Just like the missjustme, it doesn't run when it is alone. You said it needed an input...
&lt;BR /&gt;So I plugged in a tJava control just like you said with a main row but it gives me the following error :
&lt;BR /&gt;"If the component has ouput, there must be an input link to propagate the data."
&lt;BR /&gt;So I tried to plug a rowGenerator with 1 row generated (I also set the propertie of my tMysqlRow to commit after 1 row).
&lt;BR /&gt;And it still doesn't work!!!
&lt;BR /&gt;Any idea?
&lt;BR /&gt;Thx!</description>
    <pubDate>Fri, 04 May 2007 21:19:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-05-04T21:19:04Z</dc:date>
    <item>
      <title>How to execute a "ALTER TABLE" ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315412#M86067</link>
      <description>How can I execute a "ALTER TABLE" ?
&lt;BR /&gt;I am using Talend v2.0, java version, and my database is Oracle.
&lt;BR /&gt;I tried with a tOracleInput, and I wrote my query "ALTER TABLE ..." in the field "Query" in the "Properties" tab. It runs ! , but in the "Run" tab, I have an exception :
&lt;BR /&gt;Exception in component tOracleInput_3
&lt;BR /&gt;java.sql.SQLException: ORA-01003: no statement parsed
&lt;BR /&gt; at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
&lt;BR /&gt; at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
&lt;BR /&gt; at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
&lt;BR /&gt; at oracle.jdbc.driver.T4C8Odscrarr.receive(T4C8Odscrarr.java:203)
&lt;BR /&gt; at oracle.jdbc.driver.T4CStatement.do_describe(T4CStatement.java:295)
&lt;BR /&gt; at oracle.jdbc.driver.OracleStatement.describe(OracleStatement.java:3181)
&lt;BR /&gt; at oracle.jdbc.driver.OracleResultSetMetaData.&amp;lt;init&amp;gt;(OracleResultSetMetaData.java:63)
&lt;BR /&gt; at oracle.jdbc.driver.OracleResultSetImpl.getMetaData(OracleResultSetImpl.java:133)
&lt;BR /&gt;
&lt;BR /&gt;Is this a good solution or is there a better ?
&lt;BR /&gt;
&lt;BR /&gt;It is a problem because even if it runs (the "ALTER TABLE"), the job is on error ! so, I can't use a "run if ok" and "run if error" correctly !
&lt;BR /&gt;
&lt;BR /&gt;I tried to use a tOracleRow, but the query "ALTER TABLE" doesn't run ! There is no error when I execute the job, but the "ALTER TABLE" is not executed in the database !</description>
      <pubDate>Sat, 16 Nov 2024 14:36:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315412#M86067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a "ALTER TABLE" ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315413#M86068</link>
      <description>Hello&lt;BR /&gt;The correct component to use is the tOracleRow.&lt;BR /&gt;But all row components needs an input row to work.&lt;BR /&gt;So you have to insert a "fake" component like a tJava with a row main to the tOracleRow.&lt;BR /&gt;&lt;BR /&gt;Best Regards, &lt;BR /&gt;Michaël</description>
      <pubDate>Mon, 23 Apr 2007 15:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315413#M86068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-23T15:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a "ALTER TABLE" ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315414#M86069</link>
      <description>Thank you very much... It runs ! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Mon, 23 Apr 2007 16:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315414#M86069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-23T16:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a "ALTER TABLE" ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315415#M86070</link>
      <description>I've tried something similar with a tMysqlRow with a request on Talend 2.0.0 - java version
&lt;BR /&gt;My tMySQLRow contains many request :
&lt;BR /&gt;"delete from XXXX; Insert into XXX (....) VALUES (...); ...'
&lt;BR /&gt;Just like the missjustme, it doesn't run when it is alone. You said it needed an input...
&lt;BR /&gt;So I plugged in a tJava control just like you said with a main row but it gives me the following error :
&lt;BR /&gt;"If the component has ouput, there must be an input link to propagate the data."
&lt;BR /&gt;So I tried to plug a rowGenerator with 1 row generated (I also set the propertie of my tMysqlRow to commit after 1 row).
&lt;BR /&gt;And it still doesn't work!!!
&lt;BR /&gt;Any idea?
&lt;BR /&gt;Thx!</description>
      <pubDate>Fri, 04 May 2007 21:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315415#M86070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-04T21:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a "ALTER TABLE" ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315416#M86071</link>
      <description>Hello sologlobe,&lt;BR /&gt;I think your problem is that you cant' put many request in a single tMySQLRow.&lt;BR /&gt;Best Regards, &lt;BR /&gt;Michaël.</description>
      <pubDate>Sun, 06 May 2007 12:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315416#M86071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-05-06T12:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a "ALTER TABLE" ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315417#M86072</link>
      <description>tHDFSInput ------&amp;gt; tHiveRow&lt;BR /&gt;i am running above talend job , but i am getting below error anybody help me ?&lt;BR /&gt;: DataNucleus.Datastore - Error thrown executing ALTER TABLE VERSION ADD VERSION_COMMENT VARCHAR(255) NOT NULL : In an ALTER TABLE statement, the column 'VERSION_COMMENT' has been specified as NOT NULL and either the DEFAULT clause was not specified or was specified as DEFAULT NULL.&lt;BR /&gt;anybody suggest me rectifying error, i am using Talend open studio 5.4, i dont have any metadata node in repository tree,&lt;BR /&gt;my requirement is i have to load data from hdfs to hive meta store or hive db, any other components required in my job? any one tell me the detailed process how to achieve my task.</description>
      <pubDate>Fri, 17 Apr 2015 14:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315417#M86072</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T14:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a "ALTER TABLE" ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315418#M86073</link>
      <description>you are adding additional column with not null constraint to hive table which has some rows, that means this new column should be created with null values for existing rows. But constraints stopping it being null. either you can add default value along with alter statement or remove the not null constraint then update this column with values then again alter for not null.&amp;nbsp; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp;</description>
      <pubDate>Fri, 17 Apr 2015 14:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-a-quot-ALTER-TABLE-quot/m-p/2315418#M86073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T14:30:39Z</dc:date>
    </item>
  </channel>
</rss>

