Importing into eclipse

2018-11-05 Thread mark pasterkamp
Dear all, Sorry if this is not the right communication channel for this type of question but I am a bit stuck. I am trying to import Apache Hive into eclipse using the Apache Hive developers FAQ: https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ In my eclipse workspace, I

Creating materialized views error acquiring locks

2019-01-16 Thread mark pasterkamp
Dear all, I am trying to execute queries to create materialized views in Hive to see how they affect the relational Calcite plan because of the query rewriting system in Hive. I copied the TestColumnAccess class

Candidate materialized views from query history

2018-12-02 Thread mark pasterkamp
Dear all, For research purposes I have been looking into finding potential materialized views based on a given set of queries. For instance, if you have 2 queries joining table A and B, perhaps it would be advantageous to materialize said join and utilise Calcite's ability to rewrite queries

Accessing Calcite RelNodes

2019-01-27 Thread mark pasterkamp
Dear all, For a project I want to retrieve the Calcite RelNodes during the execution of the queries (perhaps even before query optimisation if possible) and perform some analysis on those RelNodes. However, I am a bit stuck with the best way to approach this. Has something similar already been

HiveException java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

2019-03-07 Thread mark pasterkamp
Dear all, After force quiting a query because it took too long I am unable to run any queries or commands on hive because it keeps throwing a hive exception: unable to instantiate session hive meta store client. What would be the best way to solve this issue? I am using the derby database as a

Serialization of HiveRelNodes

2019-02-18 Thread mark pasterkamp
Dear all, First of all, I am sorry if I sent this message twice, I received no confirmation of my previous email actually reaching the mailing list. For my project I want to be able to access the HiveRelNodes for some extended semantic analysis. By extending the hookcontext and adding a new