I have data in hadoop and created a external table using partitions (date and hour). The table creation is fine but when i try to query the data i m not getting any results.
Yes. You need to inform Hive about the new partition. The command to use is ALTER TABLE ... ADD PARTITION.
External Table creation via HIVE JDBC isnt reflected in the hive datawarehouse.
After creating the table via Hive JDBC, stmt.executeQuery("create external table trial5 (TOPIC STRING) row format delimited fields terminated by '' STORED as TEXTFILE LOCATION '/user/ranjitha/trial5'");,
and i try retrieving from this file, nothing is returned...
Here in this link: https://groups.google.com/a/cloudera.org/forum/?fromgroups#!topic/cdh-user/YTekdFtbelE, it says external table creation not possible using HIVE JDBC..
It would be really helpful if someone can guide me on the above..
Thanks!