Hi All,

I am facing following issue while running sparkR codes in zeppelin. I am
trying to load data from hive tables and then perform some operation.
Following is the code of two paragraphs present in my notebook
1)input_file<- sql(sqlContext, "select * from table1")
  data(input_file)
  head(input_file)

*op*---> I am getting proper data of the table1

2) input_file1<- sql(sqlContext, "select * from table2")
   data(input_file1)
   head(input_file1)

*op* --> i am getting following error

Error: is.character(x) is not TRUE
Error in head(input_file1): object 'input_file1' not found

Both the tables are present in hive. The only difference that i am
observing is variable name. So is importing data from multiple tables not
allowed in zeppelin?

Also there is one other issue, if I use same variable name then the code
does not give error but it also doesn't change the data. It still shows
table1 data.

Can anyone explain what i might be doing wrong or what the error exactly
mean. I have also checked the logs but couldnt find anything.

Thanks,
Rushikesh

Reply via email to