Member since
01-22-2017
8
Posts
0
Kudos Received
0
Solutions
01-31-2017
04:04 AM
Hi, How can I use this piece of code in my impala UDF? what are the libraries and headers I need to include to use this? const char* default_fs = ExecEnv::GetInstance()->default_fs().c_str(); I found this in Impala-cdh5-trunk/be/src/util/hdfs-util.cc , Impala-cdh5-trunk/be/src/runtime/exec-env.cc Or is there is any alternate method to get the value of default_fs ?
... View more
01-30-2017
11:12 AM
Hi Tim, I want to get the value of fs.defaultFS property from hdfs-site.xml , Impala already have it's value stored somewhere I guess. Is there is any way to get this property value?
... View more
01-30-2017
12:46 AM
thanks for the solution, It works!!
... View more
01-30-2017
12:45 AM
Is there is any way to read config file from C++ impala UDF ? It will be better if we can read the property configured in conf.impala/core-site.xml or conf.impala/hdfs-site.xml from impala UDF.
... View more
Labels:
- Labels:
-
Apache Impala
01-22-2017
01:01 PM
I've more than one database in impala, I want to create UDF in c++ which will be common to all databases similar to build in functions. Is there is any way to avoid creating same functions in each databse? if I've two database DB1 and DB2 and I want to add a UDF to_upper_case() in each of these, I need to select each database by using USE <database_name> command and then I've add UDF in each. is there any way to create to_upper_case() UDF such that it will be common for DB1 and DB2 ?
... View more
Labels:
- Labels:
-
Apache Impala