<?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: Mysql select - get data by json_extract in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Mysql-select-get-data-by-json-extract/m-p/2214551#M11331</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLRHAA4"&gt;@torbre&lt;/A&gt;&amp;nbsp;, do you want to extract the json fields from mysql table? then use tExtractJson after the tDBInput component.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Feb 2020 07:37:41 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-02-26T07:37:41Z</dc:date>
    <item>
      <title>Mysql select - get data by json_extract</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Mysql-select-get-data-by-json-extract/m-p/2214550#M11330</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how do I get the result from a json object with json_extract in a mysql select?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My example code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;{"price":"19.99"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;select
 a.id,
 a.name,
 JSON_EXTRACT(aa.details, '\"$.price\"') AS JsonAttr,
from article as a
left join article_attributes AS aa ON a.id = aa.articleId&lt;/PRE&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 19:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Mysql-select-get-data-by-json-extract/m-p/2214550#M11330</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-25T19:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Mysql select - get data by json_extract</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Mysql-select-get-data-by-json-extract/m-p/2214551#M11331</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLRHAA4"&gt;@torbre&lt;/A&gt;&amp;nbsp;, do you want to extract the json fields from mysql table? then use tExtractJson after the tDBInput component.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 07:37:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Mysql-select-get-data-by-json-extract/m-p/2214551#M11331</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-02-26T07:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Mysql select - get data by json_extract</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Mysql-select-get-data-by-json-extract/m-p/2214552#M11332</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;,&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Yes, I want to extract the JSON from the db cloumn. Actually, I wanted to avoid another component, since you can extract the data in select using JSON_EXTRACT. My question would still be, why is it not possible to extract the data like this via a select in tMysqlInput?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;My Solution:&amp;nbsp;&lt;SPAN&gt;I now extract the data using Java code.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;Thank you for your prompt reply&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 10:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Mysql-select-get-data-by-json-extract/m-p/2214552#M11332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-26T10:21:38Z</dc:date>
    </item>
  </channel>
</rss>

