atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suma Shivaprasad <sumasai.shivapra...@gmail.com>
Subject Review Request 47107: ATLAS_619 Normalize literals for hive queries
Date Mon, 09 May 2016 07:01:48 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/47107/
-----------------------------------------------------------

Review request for atlas.


Bugs: ATLAS-619
    https://issues.apache.org/jira/browse/ATLAS-619


Repository: atlas


Description
-------

Normlized all literals in a query and replacing them CONSTANT literals. Storing recently run
queries in  a new attribute for hive_process - recentQueries


Diffs
-----

  addons/hive-bridge/pom.xml eeb2aa4 
  addons/hive-bridge/src/main/java/org/apache/atlas/hive/hook/HiveHook.java 813177f 
  addons/hive-bridge/src/main/java/org/apache/atlas/hive/model/HiveDataModelGenerator.java
6418770 
  addons/hive-bridge/src/main/java/org/apache/atlas/hive/rewrite/ASTRewriter.java PRE-CREATION

  addons/hive-bridge/src/test/java/org/apache/atlas/hive/bridge/HiveLiteralRewriterTest.java
PRE-CREATION 
  addons/hive-bridge/src/test/java/org/apache/atlas/hive/hook/HiveHookIT.java 317d636 
  addons/hive-bridge/src/test/resources/hive-site.xml f1facb8 
  typesystem/src/main/resources/atlas-application.properties a343a20 
  typesystem/src/main/scala/org/apache/atlas/typesystem/json/InstanceSerialization.scala eae3063


Diff: https://reviews.apache.org/r/47107/diff/


Testing
-------

Added UT - HiveAStREwriteTest and IT asserttions in HiveHookIT


Thanks,

Suma Shivaprasad


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message