Re: Data is not getting written in sorted format on target oracle table through SPARK

2018-05-30 Thread Lalwani, Jayesh
e.org" Subject: Data is not getting written in sorted format on target oracle table through SPARK Hi, I have a table in hive with below schema emp_id:int emp_name:string I have created data frame from above hive table df = sql_context.sql('SELECT * FROM employee ORDER by emp_id

Data is not getting written in sorted format on target oracle table through SPARK

2018-05-30 Thread abhijeet bedagkar
Hi, I have a table in hive with below schema emp_id:int emp_name:string I have created data frame from above hive table df = sql_context.sql('SELECT * FROM employee ORDER by emp_id') df.show() After above code is run I see that data is sorted properly on emp_id After this I am trying to write