<?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: [resolved] Constants and SQL expressions in t_Map in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224636#M17270</link>
    <description>Great thank you for the answer but what if I wanted to put in a string value into column using tMap without using expression? eg. 'text'</description>
    <pubDate>Mon, 23 May 2011 06:50:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-23T06:50:08Z</dc:date>
    <item>
      <title>[resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224634#M17268</link>
      <description>How can I pass a constant in T_map component. I have to map 30 columns in source table and 40 columns in destination table. I map 10 columns directly, for some I have to perform expressions such as CASE WHEN column_name &amp;lt;&amp;gt; '' THEN column_name ELSE NULL, and sometimes I have to put in a constant sting or integer like '100' or 'test_value'. How can I achieve that?</description>
      <pubDate>Sat, 16 Nov 2024 12:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224634#M17268</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224635#M17269</link>
      <description>Hi 
&lt;BR /&gt;You can set the constants expression on tMap like this: condition?the value if true:the value if false, for example: 
&lt;BR /&gt;row1.columnName.equals("")?NULL:row1.columnName 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 23 May 2011 03:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224635#M17269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T03:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224636#M17270</link>
      <description>Great thank you for the answer but what if I wanted to put in a string value into column using tMap without using expression? eg. 'text'</description>
      <pubDate>Mon, 23 May 2011 06:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224636#M17270</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T06:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224637#M17271</link>
      <description>Hi 
&lt;BR /&gt;Yes, you can type in a fixed string value in the expression field, eg: "text" 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 23 May 2011 06:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224637#M17271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T06:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224638#M17272</link>
      <description>And one last thing how on earth can I convert string or varchar into integer before mapping? I have to map varchar column to column that is of type string</description>
      <pubDate>Mon, 23 May 2011 07:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224638#M17272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T07:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224639#M17273</link>
      <description>Hi
&lt;BR /&gt;Convert String or varchar to Integer: Integer.parseInt("123")
&lt;BR /&gt;Convert Integer/int to String: String.valueOf(123)
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 23 May 2011 07:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224639#M17273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T07:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224640#M17274</link>
      <description>Thank you very much for Your help. I know that these question may seem stupid but I naver used this component thouh it's one of the most basic ones. 
&lt;BR /&gt;Regards 
&lt;BR /&gt;Bro</description>
      <pubDate>Mon, 23 May 2011 07:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224640#M17274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T07:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224641#M17275</link>
      <description>I have mapped two tables connected to each other with fk. The situation looks like this:
&lt;BR /&gt;Employee_id of table employees has been generated from sequence on insert 
&lt;BR /&gt;Employee_id in salary table has to be filled in from Employees table joined on personal insurance number mapped from csv input.
&lt;BR /&gt;Both mappings are done in one job Employees have insert order 1 and salary has order 2 how can I map the employees_id ? Do I need to add anothe PostgreSQL_input or can it be done inside tMap by usin "SELECT employee_id from employees emp where emp.insur_no = row1.columnName"?</description>
      <pubDate>Mon, 23 May 2011 07:51:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224641#M17275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T07:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Constants and SQL expressions in t_Map</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224642#M17276</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;I have mapped two tables connected to each other with fk. The situation looks like this:&lt;BR /&gt;Employee_id of table employees has been generated from sequence on insert &lt;BR /&gt;Employee_id in salary table has to be filled in from Employees table joined on personal insurance number mapped from csv input.&lt;BR /&gt;Both mappings are done in one job Employees have insert order 1 and salary has order 2 how can I map the employees_id ? Do I need to add anothe PostgreSQL_input or can it be done inside tMap by usin "SELECT employee_id from employees emp where emp.insur_no = row1.columnName"?&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi 
&lt;BR /&gt;For better management, one topic for one question, please report a new topic for your new question with details. 
&lt;BR /&gt;Thanks for your support! 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Mon, 23 May 2011 08:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Constants-and-SQL-expressions-in-t-Map/m-p/2224642#M17276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-23T08:30:25Z</dc:date>
    </item>
  </channel>
</rss>

