<?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: Cannot determine value type from string 'INR' in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307265#M78720</link>
    <description>&lt;P&gt;@Vikram Kumar​, In every component the column is defined as datatype string. I tried to cast that particular column. But still getting the same exception.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2020 04:59:18 GMT</pubDate>
    <dc:creator>shalinim1</dc:creator>
    <dc:date>2020-11-17T04:59:18Z</dc:date>
    <item>
      <title>Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307263#M78718</link>
      <description>&lt;P&gt;&lt;B&gt;Hi,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;I have a tfileinputdelimited connected to db table with tmap, in input file there is a column called currency_type which has data like 'USD', 'INR', 'GBR'. The job ran successfully and the data was loaded to the db table. &lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;When I tried to load from that db table to another table, it is throwing the following exception,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Exception in component tDBInput_1 (Partdimension)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;java.sql.SQLDataException: Cannot determine value type from string 'INR'&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:114)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:96)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.jdbc.result.ResultSetImpl.getInt(ResultSetImpl.java:895)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at case_study_etl_process.partdimension_0_1.Partdimension.tDBInput_1Process(Partdimension.java:1718)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at case_study_etl_process.partdimension_0_1.Partdimension.runJobInTOS(Partdimension.java:3559)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at case_study_etl_process.partdimension_0_1.Partdimension.main(Partdimension.java:3409)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Caused by: com.mysql.cj.exceptions.DataConversionException: Cannot determine value type from string 'USD '&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.result.StringConverter.createFromBytes(StringConverter.java:131)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.protocol.a.MysqlTextValueDecoder.decodeByteArray(MysqlTextValueDecoder.java:238)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.protocol.result.AbstractResultsetRow.decodeAndCreateReturnValue(AbstractResultsetRow.java:143)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.protocol.result.AbstractResultsetRow.getValueFromBytes(AbstractResultsetRow.java:250)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.protocol.a.result.ByteArrayRow.getValue(ByteArrayRow.java:91)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;at com.mysql.cj.jdbc.result.ResultSetImpl.getNonStringValueFromRow(ResultSetImpl.java:655)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&amp;nbsp;... 4 more&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307263#M78718</guid>
      <dc:creator>shalinim1</dc:creator>
      <dc:date>2024-11-16T01:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307264#M78719</link>
      <description>&lt;P&gt;Hi @Shalini M​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Could you confirm the data type you have defined in the input and output schema for this column where you are getting 'INR'.&lt;/P&gt;&lt;P&gt;The error says &lt;B&gt;Cannot determine value type from string. &lt;/B&gt;It means that you would have defined string type for the column and the value which is coming in the column is not recognized for its type.&lt;/P&gt;&lt;P&gt;You can cast the type to required type using tconvertype if the error is in the path of loading, or consider changing the type of data at source or target.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 04:13:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307264#M78719</guid>
      <dc:creator>vikramk</dc:creator>
      <dc:date>2020-11-17T04:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307265#M78720</link>
      <description>&lt;P&gt;@Vikram Kumar​, In every component the column is defined as datatype string. I tried to cast that particular column. But still getting the same exception.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 04:59:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307265#M78720</guid>
      <dc:creator>shalinim1</dc:creator>
      <dc:date>2020-11-17T04:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307266#M78721</link>
      <description>&lt;P&gt;Hi @Shalini M​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;You trying to read the value in string type but the values coming in the column is of int, would you mind checking your desired schema at the output table.&lt;/P&gt;&lt;P&gt;You should consider its type as int instead of string. Please have a check with your data model for its type.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 05:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307266#M78721</guid>
      <dc:creator>vikramk</dc:creator>
      <dc:date>2020-11-17T05:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307267#M78722</link>
      <description>&lt;P&gt;@Vikram Kumar​, The output schema has string datatype, when I changed it as int. It is throwing Detail Message: The method setInt(int, int) in the type PreparedStatement is not applicable for the arguments (int, String).&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 05:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307267#M78722</guid>
      <dc:creator>shalinim1</dc:creator>
      <dc:date>2020-11-17T05:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307268#M78723</link>
      <description>&lt;P&gt;Hi @Shalini M​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Have you implemented type casting to convert the fields to int type.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 05:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307268#M78723</guid>
      <dc:creator>vikramk</dc:creator>
      <dc:date>2020-11-17T05:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307269#M78724</link>
      <description>&lt;P&gt;@Vikram Kumar​, the data in that column is String like "INR", "USD".. How can we typecast it to int?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 06:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307269#M78724</guid>
      <dc:creator>shalinim1</dc:creator>
      <dc:date>2020-11-17T06:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307270#M78725</link>
      <description>&lt;P&gt;Hi @Shalini M​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Sorry for correcting me, I thought your value is in int type. &lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 07:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307270#M78725</guid>
      <dc:creator>vikramk</dc:creator>
      <dc:date>2020-11-17T07:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot determine value type from string 'INR'</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307271#M78726</link>
      <description>&lt;P&gt;@Vikram Kumar​, That is why, I do not know how to solve this exception. My data is in string data type and schema also has string datatype. Still it is throwing this Exception.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 08:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cannot-determine-value-type-from-string-INR/m-p/2307271#M78726</guid>
      <dc:creator>shalinim1</dc:creator>
      <dc:date>2020-11-17T08:04:39Z</dc:date>
    </item>
  </channel>
</rss>

