[catalog] HUE-8863 search by owner returns hive tables only instead of db/table/columns

Review Request #13995 - Created June 5, 2019 and submitted

weixia xu
hue
origin/master
HUE-8863
94d4930...
hue
jgauthier, johan, romain, yingc

[catalog] HUE-8863 search by owner returns hive tables and add integration test for entities_interactive

test specific metadata.catalog_tests:TestAtlas
...
[05/Jun/2019 16:31:52 -0700] resource INFO SLOW: 1.67 - GET //v2/search/dsl?query=hive_column where qualifiedName='default.customers.id@cl1' Got response in 1670ms: {"queryType":"DSL","queryText":"hive_column where qualifiedName='default.customers.id@cl1'","entities":[{"typeName":"hive_column","attributes":{"owner":"admin","qualifiedName":"default.customers.id@cl1","name":"id"},"guid":"934f195f-848c-4c93-b206-f54d9ae31181","status":"ACTIVE","displayText":"id","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]}]}
[05/Jun/2019 16:31:52 -0700] access INFO 127.0.0.1 test - "GET /metadata/api/catalog/find_entity HTTP/1.1" returned in 1683ms (mem: 159mb)
[05/Jun/2019 16:31:52 -0700] catalog_tests INFO Hue response for find_entity with query: hive_column where qualifiedName = 'default.customers.id@cl1'
[05/Jun/2019 16:31:52 -0700] catalog_tests INFO {u'status': 0, u'entity': {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': False, u'original_name': u'id', u'originalName': u'id', u'originalDescription': None, u'customProperties': None, u'parentPath': u'/default/customers', u'owner': u'admin', u'sourceType': u'HIVE', u'internalType': u'hive_column', u'type': u'FIELD', u'properties': {}, u'identity': u'934f195f-848c-4c93-b206-f54d9ae31181', u'name': u'id'}}
.[05/Jun/2019 16:31:54 -0700] resource INFO SLOW: 1.85 - GET //v2/search/dsl?query=hive_db where qualifiedName='default@cl1' Got response in 1846ms: {"queryType":"DSL","queryText":"hive_db where qualifiedName='default@cl1'","entities":[{"typeName":"hive_db","attributes":{"owner":"public","qualifiedName":"default@cl1","name":"default","description":"Default Hive database"},"guid":"4d4a2676-7e39-40c4-a4e9-03cc33a457a8","status":"ACTIVE","displayText":"default","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]}]}
[05/Jun/2019 16:31:54 -0700] access INFO 127.0.0.1 test - "GET /metadata/api/catalog/find_entity HTTP/1.1" returned in 1858ms (mem: 159mb)
[05/Jun/2019 16:31:54 -0700] catalog_tests INFO Hue response for find_entity with query: hive_db+where+name=sys
[05/Jun/2019 16:31:54 -0700] catalog_tests INFO {u'status': 0, u'entity': {u'meaningNames': [], u'meanings': [], u'description': u'Default Hive database', u'tags': [], u'created': False, u'original_name': u'default', u'originalName': u'default', u'originalDescription': None, u'customProperties': None, u'parentPath': u'/', u'owner': u'public', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'properties': {}, u'identity': u'4d4a2676-7e39-40c4-a4e9-03cc33a457a8', u'name': u'default'}}
.[05/Jun/2019 16:31:55 -0700] resource INFO SLOW: 1.76 - GET //v2/search/dsl?query=hive_table where qualifiedName='default.customers@cl1' Got response in 1755ms: {"queryType":"DSL","queryText":"hive_table where qualifiedName='default.customers@cl1'","entities":[{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247983000,"qualifiedName":"default.customers@cl1","name":"customers"},"guid":"9157dc88-84dc-4455-9982-a6a302c7bb06","status":"ACTIVE","displayText":"customers","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]}]}
[05/Jun/2019 16:31:55 -0700] access INFO 127.0.0.1 test - "GET /metadata/api/catalog/find_entity HTTP/1.1" returned in 1767ms (mem: 159mb)
[05/Jun/2019 16:31:55 -0700] catalog_tests INFO Hue response for find_entity with query: hive_column where qualifiedName = 'default.customers@cl1'
[05/Jun/2019 16:31:55 -0700] catalog_tests INFO {u'status': 0, u'entity': {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247983000, u'original_name': u'customers', u'originalName': u'customers', u'originalDescription': None, u'customProperties': None, u'parentPath': u'/default', u'owner': u'admin', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'properties': {}, u'identity': u'9157dc88-84dc-4455-9982-a6a302c7bb06', u'name': u'customers'}}
.[05/Jun/2019 16:31:55 -0700] upload DEBUG Chunk size = 67108864
[05/Jun/2019 16:31:56 -0700] resource DEBUG POST //v2/search/basic Got response in 115ms: {"queryType":"BASIC","searchParameters":{"typeName":"Asset","classification":"class2_test","excludeDeletedEntities":true,"includeClassificationAttributes":true,"includeSubTypes":true,"includeSubClassifications":true,"limit":25,"offset":0,"entityFilters":{"condition":"AND","criterion":[{"condition":"OR","criterion":[{"attributeName":"name","operator":"contains","attributeValue":""},{"attributeName":"description","operator":"contains","attributeValue":""}]},{"attributeName":"qualifiedName","operator":"contains","attributeValue":"@cl1"}]}},"entities":[{"typeName":"hive_db","attributes":{"owner":"hive","qualifiedName":"testdb2@cl1","name":"testdb2"},"guid":"7fd12172-ac3e-432e-9d42-615502db50b5","status":"ACTIVE","displayText":"testdb2","classificationNames":["class2_test"],"classifications":[{"typeName":"class2_test","entityGuid":"7fd12172-ac3e-432e-9d42-615502db50b5","entityStatus":"ACTIVE","propagate":true,"validityPeriods":[],"removePropagationsOnEntityDelete":false}],"meaningNames":[],"meanings":[]}]}
[05/Jun/2019 16:31:56 -0700] access INFO 127.0.0.1 test - "POST /metadata/api/catalog/search_entities_interactive HTTP/1.1" returned in 129ms (mem: 159mb)
[05/Jun/2019 16:31:56 -0700] catalog_tests INFO Hue response for entities_interactive with query: classification:class2_test
[05/Jun/2019 16:31:56 -0700] catalog_tests INFO {u'status': 0, u'facets': {}, u'results': [{u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [u'class2_test'], u'created': False, u'original_name': u'testdb2', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'testdb2', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb2', u'originalName': u'testdb2', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u'', u'identity': u'7fd12172-ac3e-432e-9d42-615502db50b5', u'name': u'testdb2'}]}
.[05/Jun/2019 16:31:56 -0700] upload DEBUG Chunk size = 67108864
[05/Jun/2019 16:31:56 -0700] resource DEBUG POST //v2/search/basic Got response in 79ms: {"queryType":"BASIC","searchParameters":{"typeName":"hive_table","excludeDeletedEntities":true,"includeClassificationAttributes":true,"includeSubTypes":true,"includeSubClassifications":true,"limit":25,"offset":0,"entityFilters":{"condition":"AND","criterion":[{"condition":"OR","criterion":[{"attributeName":"name","operator":"contains","attributeValue":""},{"attributeName":"description","operator":"contains","attributeValue":""}]},{"attributeName":"qualifiedName","operator":"contains","attributeValue":"@cl1"},{"attributeName":"owner","operator":"startsWith","attributeValue":"admin"}]}},"entities":[{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247983000,"qualifiedName":"default.customers@cl1","name":"customers"},"guid":"9157dc88-84dc-4455-9982-a6a302c7bb06","status":"ACTIVE","displayText":"customers","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247973000,"qualifiedName":"default.sample_07@cl1","name":"sample_07"},"guid":"79eb4cbb-2d02-4389-a99d-75b468d71b21","status":"ACTIVE","displayText":"sample_07","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247980000,"qualifiedName":"default.sample_08@cl1","name":"sample_08"},"guid":"c3d9c795-c1d3-46a1-b3f2-da9d1bff42d1","status":"ACTIVE","displayText":"sample_08","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247987000,"qualifiedName":"default.web_logs@cl1","name":"web_logs"},"guid":"1149bc41-4456-4eed-8318-9090aa82914c","status":"ACTIVE","displayText":"web_logs","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559334213000,"qualifiedName":"testdb2.2015@cl1","name":"2015"},"guid":"16449dfb-3e5b-4...
[05/Jun/2019 16:31:56 -0700] access INFO 127.0.0.1 test - "POST /metadata/api/catalog/search_entities_interactive HTTP/1.1" returned in 93ms (mem: 159mb)
[05/Jun/2019 16:31:56 -0700] catalog_tests INFO Hue response for entities_interactive with query: owner:admin
[05/Jun/2019 16:31:56 -0700] catalog_tests INFO {u'status': 0, u'facets': {}, u'results': [{u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247983000, u'original_name': u'customers', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'customers', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.customers', u'originalName': u'default.customers', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' owner:<em>admin</em>', u'identity': u'9157dc88-84dc-4455-9982-a6a302c7bb06', u'name': u'customers'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247973000, u'original_name': u'sample_07', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'sample_07', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.sample_07', u'originalName': u'default.sample_07', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' owner:<em>admin</em>', u'identity': u'79eb4cbb-2d02-4389-a99d-75b468d71b21', u'name': u'sample_07'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247980000, u'original_name': u'sample_08', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'sample_08', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.sample_08', u'originalName': u'default.sample_08', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' owner:<em>admin</em>', u'identity': u'c3d9c795-c1d3-46a1-b3f2-da9d1bff42d1', u'name': u'sample_08'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247987000, u'original_name': u'web_logs', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'web_logs', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.web_logs', u'originalName': u'default.web_logs', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' owner:<em>admin</em>', u'identity': u'1149bc41-4456-4eed-8318-9090aa82914c', u'name': u'web_logs'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559334213000, u'original_name': u'2015', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'2015', u'customProperties': None, u'parentPath': u'/testdb2', u'hue_name': u'testdb2.2015', u'originalName': u'testdb2.2015', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' owner:<em>admin</em>', u'identity': u'16449dfb-3e5b-4524-9023-9c790dcaa9b5', u'name': u'2015'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559753239000, u'original_name': u'aws_athena2', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'aws_athena2', u'customProperties': None, u'parentPath': u'/testdb_admin3', u'hue_name': u'testdb_admin3.aws_athena2', u'originalName': u'testdb_admin3.aws_athena2', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' owner:<em>admin</em>', u'identity': u'd5cebf68-8810-4163-b3bf-f259196b23fb', u'name': u'aws_athena2'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [u'tag_2015'], u'created': 1559752516000, u'original_name': u'2015', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'2015', u'customProperties': None, u'parentPath': u'/testdb_admin3', u'hue_name': u'testdb_admin3.2015', u'originalName': u'testdb_admin3.2015', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' owner:<em>admin</em>', u'identity': u'442828dc-30f9-4a0a-9b77-d9d5653a8772', u'name': u'2015'}]}
.[05/Jun/2019 16:31:56 -0700] upload DEBUG Chunk size = 67108864
[05/Jun/2019 16:31:56 -0700] resource DEBUG POST //v2/search/basic Got response in 84ms: {"queryType":"BASIC","searchParameters":{"typeName":"hive_db","excludeDeletedEntities":true,"includeClassificationAttributes":true,"includeSubTypes":true,"includeSubClassifications":true,"limit":25,"offset":0,"entityFilters":{"condition":"AND","criterion":[{"condition":"OR","criterion":[{"attributeName":"name","operator":"contains","attributeValue":""},{"attributeName":"description","operator":"contains","attributeValue":""}]},{"attributeName":"qualifiedName","operator":"contains","attributeValue":"@cl1"}]}},"entities":[{"typeName":"hive_db","attributes":{"owner":"public","qualifiedName":"default@cl1","name":"default","description":"Default Hive database"},"guid":"4d4a2676-7e39-40c4-a4e9-03cc33a457a8","status":"ACTIVE","displayText":"default","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_db","attributes":{"owner":"hive","qualifiedName":"testdb5@cl1","name":"testdb5"},"guid":"252e4361-6ff8-46cf-88c5-a7b48fde03d1","status":"ACTIVE","displayText":"testdb5","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_db","attributes":{"owner":"admin","qualifiedName":"testdb_admin2@cl1","name":"testdb_admin2"},"guid":"d13ed8b6-92ac-41f8-8198-a706b294648a","status":"ACTIVE","displayText":"testdb_admin2","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_db","attributes":{"owner":"admin","qualifiedName":"testdb_admin1@cl1","name":"testdb_admin1"},"guid":"7b87f74e-5503-4547-ae95-cccde9ccda8c","status":"ACTIVE","displayText":"testdb_admin1","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_db","attributes":{"owner":"hive","qualifiedName":"testdb1@cl1","name":"testdb1"},"guid":"1920e0fe-fc9d-4da3-8683-f90591451d6a","status":"ACTIVE","displayText":"testdb1","classificationNames":["classification_1"],"classifications":[{"typeName":"classification_1","entityGuid":"1920e0fe-fc9d-4da3-8683-f90591451d6a",...
[05/Jun/2019 16:31:56 -0700] access INFO 127.0.0.1 test - "POST /metadata/api/catalog/search_entities_interactive HTTP/1.1" returned in 98ms (mem: 159mb)
[05/Jun/2019 16:31:56 -0700] catalog_tests INFO Hue response for entities_interactive with query: type:database
[05/Jun/2019 16:31:56 -0700] catalog_tests INFO {u'status': 0, u'facets': {}, u'results': [{u'meaningNames': [], u'meanings': [], u'description': u'Default Hive database', u'tags': [], u'created': False, u'original_name': u'default', u'originalDescription': None, u'properties': {}, u'owner': u'public', u'selectionName': u'default', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'default', u'originalName': u'default', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'4d4a2676-7e39-40c4-a4e9-03cc33a457a8', u'name': u'default'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': False, u'original_name': u'testdb5', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'testdb5', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb5', u'originalName': u'testdb5', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'252e4361-6ff8-46cf-88c5-a7b48fde03d1', u'name': u'testdb5'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': False, u'original_name': u'testdb_admin2', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'testdb_admin2', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb_admin2', u'originalName': u'testdb_admin2', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'd13ed8b6-92ac-41f8-8198-a706b294648a', u'name': u'testdb_admin2'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': False, u'original_name': u'testdb_admin1', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'testdb_admin1', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb_admin1', u'originalName': u'testdb_admin1', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'7b87f74e-5503-4547-ae95-cccde9ccda8c', u'name': u'testdb_admin1'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [u'classification_1'], u'created': False, u'original_name': u'testdb1', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'testdb1', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb1', u'originalName': u'testdb1', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'1920e0fe-fc9d-4da3-8683-f90591451d6a', u'name': u'testdb1'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': False, u'original_name': u'testdb_admin3', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'testdb_admin3', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb_admin3', u'originalName': u'testdb_admin3', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'c5435eaa-d47b-49a6-b130-577f1325ac35', u'name': u'testdb_admin3'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [u'class4_test'], u'created': False, u'original_name': u'testdb4', u'originalDescription': None, u'properties': {u'key3': None, u'key2': 0, u'key1': None}, u'owner': u'hive', u'selectionName': u'testdb4', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb4', u'originalName': u'testdb4', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'8679a745-398b-4b16-a2f3-07bc1929cbfd', u'name': u'testdb4'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [u'class3_test1'], u'created': False, u'original_name': u'testdb3', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'testdb3', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb3', u'originalName': u'testdb3', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'8f790ed0-afe3-44d0-a931-a846caaf84aa', u'name': u'testdb3'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [u'class2_test'], u'created': False, u'original_name': u'testdb2', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'testdb2', u'customProperties': None, u'parentPath': u'/', u'hue_name': u'testdb2', u'originalName': u'testdb2', u'sourceType': u'HIVE', u'internalType': u'hive_db', u'type': u'DATABASE', u'hue_description': u' type:<em>DATABASE</em>', u'identity': u'7fd12172-ac3e-432e-9d42-615502db50b5', u'name': u'testdb2'}]}
.[05/Jun/2019 16:31:56 -0700] upload DEBUG Chunk size = 67108864
[05/Jun/2019 16:31:56 -0700] resource DEBUG POST //v2/search/basic Got response in 95ms: {"queryType":"BASIC","searchParameters":{"typeName":"hive_table","excludeDeletedEntities":true,"includeClassificationAttributes":true,"includeSubTypes":true,"includeSubClassifications":true,"limit":25,"offset":0,"entityFilters":{"condition":"AND","criterion":[{"condition":"OR","criterion":[{"attributeName":"name","operator":"contains","attributeValue":""},{"attributeName":"description","operator":"contains","attributeValue":""}]},{"attributeName":"qualifiedName","operator":"contains","attributeValue":"@cl1"}]}},"entities":[{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247983000,"qualifiedName":"default.customers@cl1","name":"customers"},"guid":"9157dc88-84dc-4455-9982-a6a302c7bb06","status":"ACTIVE","displayText":"customers","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247973000,"qualifiedName":"default.sample_07@cl1","name":"sample_07"},"guid":"79eb4cbb-2d02-4389-a99d-75b468d71b21","status":"ACTIVE","displayText":"sample_07","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247980000,"qualifiedName":"default.sample_08@cl1","name":"sample_08"},"guid":"c3d9c795-c1d3-46a1-b3f2-da9d1bff42d1","status":"ACTIVE","displayText":"sample_08","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_table","attributes":{"owner":"admin","createTime":1559247987000,"qualifiedName":"default.web_logs@cl1","name":"web_logs"},"guid":"1149bc41-4456-4eed-8318-9090aa82914c","status":"ACTIVE","displayText":"web_logs","classificationNames":[],"classifications":[],"meaningNames":[],"meanings":[]},{"typeName":"hive_table","attributes":{"owner":"knoxui","createTime":1559248449000,"qualifiedName":"default.tbl5@cl1","name":"tbl5"},"guid":"611a5924-e24a-42fb-b825-dcc1966f4b17","status":"ACTIVE","displayText":"tbl5","classificat...
[05/Jun/2019 16:31:56 -0700] access INFO 127.0.0.1 test - "POST /metadata/api/catalog/search_entities_interactive HTTP/1.1" returned in 109ms (mem: 159mb)
[05/Jun/2019 16:31:56 -0700] catalog_tests INFO Hue response for entities_interactive with query: type:table
[05/Jun/2019 16:31:56 -0700] catalog_tests INFO {u'status': 0, u'facets': {}, u'results': [{u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247983000, u'original_name': u'customers', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'customers', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.customers', u'originalName': u'default.customers', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'9157dc88-84dc-4455-9982-a6a302c7bb06', u'name': u'customers'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247973000, u'original_name': u'sample_07', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'sample_07', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.sample_07', u'originalName': u'default.sample_07', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'79eb4cbb-2d02-4389-a99d-75b468d71b21', u'name': u'sample_07'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247980000, u'original_name': u'sample_08', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'sample_08', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.sample_08', u'originalName': u'default.sample_08', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'c3d9c795-c1d3-46a1-b3f2-da9d1bff42d1', u'name': u'sample_08'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559247987000, u'original_name': u'web_logs', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'web_logs', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.web_logs', u'originalName': u'default.web_logs', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'1149bc41-4456-4eed-8318-9090aa82914c', u'name': u'web_logs'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559248449000, u'original_name': u'tbl5', u'originalDescription': None, u'properties': {}, u'owner': u'knoxui', u'selectionName': u'tbl5', u'customProperties': None, u'parentPath': u'/default', u'hue_name': u'default.tbl5', u'originalName': u'default.tbl5', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'611a5924-e24a-42fb-b825-dcc1966f4b17', u'name': u'tbl5'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559325595000, u'original_name': u'tbl1', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'tbl1', u'customProperties': None, u'parentPath': u'/testdb1', u'hue_name': u'testdb1.tbl1', u'originalName': u'testdb1.tbl1', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'c32b0747-31c0-45a7-9d25-d317ea321a5c', u'name': u'tbl1'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559325602000, u'original_name': u'tbl2', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'tbl2', u'customProperties': None, u'parentPath': u'/testdb1', u'hue_name': u'testdb1.tbl2', u'originalName': u'testdb1.tbl2', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'0f9f96d4-ee9e-48a0-80c8-dd61b9817920', u'name': u'tbl2'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559325627000, u'original_name': u'tbl3', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'tbl3', u'customProperties': None, u'parentPath': u'/testdb1', u'hue_name': u'testdb1.tbl3', u'originalName': u'testdb1.tbl3', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'72a04358-fa1c-4ad0-87b5-e26c4b134245', u'name': u'tbl3'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559325748000, u'original_name': u'tbl3', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'tbl3', u'customProperties': None, u'parentPath': u'/testdb2', u'hue_name': u'testdb2.tbl3', u'originalName': u'testdb2.tbl3', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'39b60773-657a-40d9-bc9a-cc21d4c50a11', u'name': u'tbl3'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559325760000, u'original_name': u'tbl2', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'tbl2', u'customProperties': None, u'parentPath': u'/testdb2', u'hue_name': u'testdb2.tbl2', u'originalName': u'testdb2.tbl2', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'cd32d5b0-4e2d-4a34-b6d0-430a1af2b10c', u'name': u'tbl2'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559325754000, u'original_name': u'tbl1', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'tbl1', u'customProperties': None, u'parentPath': u'/testdb2', u'hue_name': u'testdb2.tbl1', u'originalName': u'testdb2.tbl1', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'c96487c0-06ef-4e92-962a-6b4939f576a0', u'name': u'tbl1'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559325866000, u'original_name': u'test5', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'test5', u'customProperties': None, u'parentPath': u'/testdb1', u'hue_name': u'testdb1.test5', u'originalName': u'testdb1.test5', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'5dd9e758-be9d-4d1e-8a27-2b40073552cd', u'name': u'test5'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559325806000, u'original_name': u'test6', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'test6', u'customProperties': None, u'parentPath': u'/testdb1', u'hue_name': u'testdb1.test6', u'originalName': u'testdb1.test6', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'ffe6627d-2778-4655-b99f-28c8059f541d', u'name': u'test6'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559326831000, u'original_name': u'tbl5', u'originalDescription': None, u'properties': {}, u'owner': u'hive', u'selectionName': u'tbl5', u'customProperties': None, u'parentPath': u'/testdb5', u'hue_name': u'testdb5.tbl5', u'originalName': u'testdb5.tbl5', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'fe6b3042-4083-499f-a1f0-c761839bfc9e', u'name': u'tbl5'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559334213000, u'original_name': u'2015', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'2015', u'customProperties': None, u'parentPath': u'/testdb2', u'hue_name': u'testdb2.2015', u'originalName': u'testdb2.2015', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'16449dfb-3e5b-4524-9023-9c790dcaa9b5', u'name': u'2015'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [], u'created': 1559753239000, u'original_name': u'aws_athena2', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'aws_athena2', u'customProperties': None, u'parentPath': u'/testdb_admin3', u'hue_name': u'testdb_admin3.aws_athena2', u'originalName': u'testdb_admin3.aws_athena2', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'd5cebf68-8810-4163-b3bf-f259196b23fb', u'name': u'aws_athena2'}, {u'meaningNames': [], u'meanings': [], u'description': None, u'tags': [u'tag_2015'], u'created': 1559752516000, u'original_name': u'2015', u'originalDescription': None, u'properties': {}, u'owner': u'admin', u'selectionName': u'2015', u'customProperties': None, u'parentPath': u'/testdb_admin3', u'hue_name': u'testdb_admin3.2015', u'originalName': u'testdb_admin3.2015', u'sourceType': u'HIVE', u'internalType': u'hive_table', u'type': u'TABLE', u'hue_description': u' type:<em>TABLE</em>', u'identity': u'442828dc-30f9-4a0a-9b77-d9d5653a8772', u'name': u'2015'}]}
.Destroying test database for alias 'default'...


Ran 7 tests in 7.702s

OK

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. Ship It!
    1. Commit message "[catalog] HUE-8863 ..." -> "HUE-8863 [catalog] ..."
  2. Nit: Remove as default to hive_table on line 278

  3. 
      
Review request changed

Status: Closed (submitted)

Change Summary:

https://github.com/cloudera/hue/commit/16ad3fad5972ebe7e5d6d6ac80f9d319b0a6c10c

Loading...