cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
aliegner1
Level IV

ODBC Hive connection, change container size in the script?

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".

 

I was told that in python, you just add a configuration={"hive.tez.container.size":'10240'} parameter to the hive.connect call.

 

How would I do this through JMP? I already have the Cloudera ODBC setup.

 

//**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***********************
0 REPLIES 0

Recommended Articles