You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by chaitali <ch...@freestoneinfotech.com> on 2023/06/13 09:02:12 UTC

Re: Review Request 74459: ATLAS-4757 - Regression : DSL queries redirected to passive server fails

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

(Updated June 13, 2023, 9:02 a.m.)


Review request for atlas, Jayendra Parab and Mandar Ambawane.


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


Repository: atlas


Description
-------

When redirected query is encoded as below
http://localhost:21000/api/atlas/v2/search/dsl?typeName=hive_table&query=name=%2522table_a_impala_avwei_20%2522

this fails with below error :

{ "errorCode": "ATLAS-400-00-059", "errorMessage": "Invalid DSL query: `hive_table` name=%22table_a_impala_avwei_20%22 limit 100 offset 0 | Reason: DSL Semantic Error - table_a_impala_avwei_20 type not found, DSL Semantic Error - table_a_impala_avwei_20 type not found, DSL Semantic Error - 22 type not found, DSL Semantic Error - 22 type not found. Please refer to Atlas DSL grammar for more information"}


Diffs
-----

  webapp/src/main/java/org/apache/atlas/web/filters/ActiveServerFilter.java 8d6aab688 
  webapp/src/test/java/org/apache/atlas/web/filters/ActiveServerFilterTest.java 04b4e4a35 


Diff: https://reviews.apache.org/r/74459/diff/5/


Testing
-------

Atlas server running 
testcases passed


Thanks,

chaitali