Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# e6data Python Connector

![version](https://img.shields.io/badge/version-1.1.9-blue.svg)
![version](https://img.shields.io/badge/version-1.1.10-blue.svg)

## Introduction

The e6data Connector for Python provides an interface for writing Python applications that can connect to e6data and perform operations.

#### Amazon Linux Wheel dependency
Make sure to install wheel before install e6data-python-connector.
```shell
pip install wheel
```

To install the Python package, use the command below:
```shell
pip install e6data-python-connector
Expand Down
12 changes: 7 additions & 5 deletions e6data_python_connector/e6data_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,19 +358,21 @@ def close(self):

def get_tables(self):
schema = self.connection.database
return self.connection.get_tables(database=schema)
return self.connection.get_tables(catalog=self._catalog_name, database=schema)

def get_columns(self, table):
schema = self.connection.database
return self.connection.get_columns(database=schema, table=table)
return self.connection.get_columns(catalog=self._catalog_name, database=schema, table=table)

def get_schema_names(self):
return self.connection.get_schema_names()
return self.connection.get_schema_names(catalog=self._catalog_name)

def clear(self):
def clear(self, query_id=None):
if not query_id:
query_id = self._query_id
clear_request = e6x_engine_pb2.ClearRequest(
sessionId=self.connection.get_session_id,
queryId=self._query_id,
queryId=query_id,
engineIP=self._engine_ip
)
return self.connection.client.clear(clear_request)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

import setuptools

VERSION = [1, 1, 9]
VERSION = [1, 1, 10]


def get_long_desc():
Expand Down