<?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 ODBC Hive connection, change container size in the script? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/ODBC-Hive-connection-change-container-size-in-the-script/m-p/394325#M64471</link>
    <description>&lt;P&gt;Wondering if anyone can help here. I am trying to write some JMP scripts that SQL query data from a hive table. I need to change the container size and am told that I should just "do it in the connection settings".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was told that in python,&amp;nbsp;you just add a configuration={"hive.tez.container.size":'10240'} parameter to the hive.connect call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I do this through JMP? I already have the Cloudera ODBC setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//**Globals*******************************
Clear Globals();
Clear Log();
Names Default to Here(1);
//**Globals*******************************


//**HIVE QUERY*************************
myquerystring = "
select *
from table
";

Caption( "Trying to extract the data from HIVE" );
Wait( 1 );
Try(
	hive_table = Open Database( "DSN=server", myquerystring );
,
	Show( exception_msg );
	Throw();
);
Caption( remove );
//**HIVE  QUERY***********************&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 10 Jun 2023 20:45:34 GMT</pubDate>
    <dc:creator>aliegner1</dc:creator>
    <dc:date>2023-06-10T20:45:34Z</dc:date>
    <item>
      <title>ODBC Hive connection, change container size in the script?</title>
      <link>https://community.jmp.com/t5/Discussions/ODBC-Hive-connection-change-container-size-in-the-script/m-p/394325#M64471</link>
      <description>&lt;P&gt;Wondering if anyone can help here. I am trying to write some JMP scripts that SQL query data from a hive table. I need to change the container size and am told that I should just "do it in the connection settings".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was told that in python,&amp;nbsp;you just add a configuration={"hive.tez.container.size":'10240'} parameter to the hive.connect call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How would I do this through JMP? I already have the Cloudera ODBC setup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//**Globals*******************************
Clear Globals();
Clear Log();
Names Default to Here(1);
//**Globals*******************************


//**HIVE QUERY*************************
myquerystring = "
select *
from table
";

Caption( "Trying to extract the data from HIVE" );
Wait( 1 );
Try(
	hive_table = Open Database( "DSN=server", myquerystring );
,
	Show( exception_msg );
	Throw();
);
Caption( remove );
//**HIVE  QUERY***********************&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:45:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/ODBC-Hive-connection-change-container-size-in-the-script/m-p/394325#M64471</guid>
      <dc:creator>aliegner1</dc:creator>
      <dc:date>2023-06-10T20:45:34Z</dc:date>
    </item>
  </channel>
</rss>

