Skip to content

Fixes issus #4 and #5#6

Open
DashShen wants to merge 2 commits intowxiang7:masterfrom
DashShen:master
Open

Fixes issus #4 and #5#6
DashShen wants to merge 2 commits intowxiang7:masterfrom
DashShen:master

Conversation

@DashShen
Copy link

@DashShen DashShen commented Mar 3, 2017

issue 3

The get_table_names() function needs the pykylin.connection object to access to kylin, but the real object passed-in is Engine.That's the reason to cause this bug. To get the connnection object, I invoke engine.contextual_connect() and then fixed this bug.

connection = engine.contextual_connect()

issue 5

This bug is caused by requesting kylin by using a wrong URL.Every URL must have the prefix of kylin/api.
But the function dialect.create_connect_args() may return a incorrect endpoint which leads to generate a bad url.And I set the endpoint always equals kylin/api, and then this bug never recurrented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant