atlasclient icon indicating copy to clipboard operation
atlasclient copied to clipboard

Atlas doesn’t support qualified names without db/cluster - no matter whether default or not

Open pPanda-beta opened this issue 4 years ago • 0 comments

In those line, while we try to make a qualified name with either db='default' or cluster='default' it does not include it. Nowhere atlas rest apis mentioned that they will consider "default" if not given for db/cluster.

https://github.com/jpoullet2000/atlasclient/blob/02b3e7d9a6596d1123fc22b6bfed08d60105d19e/atlasclient/utils.py#L171-L176

Check this screenshot.

image

Test case:

make_table_qualified_name('abc', 'primary', 'default')

Expected Output:

default.abc@primary

Actual Output:

abc@primary

pPanda-beta avatar Jul 19 '20 12:07 pPanda-beta