Skip to content

Commit

Permalink
Merge pull request #15 from bdeboe/main
Browse files Browse the repository at this point in the history
  • Loading branch information
daimor authored May 8, 2024
2 parents aac223e + 915d471 commit 0e10eb5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sqlalchemy_iris/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -915,10 +915,8 @@ def on_connect(conn):
)
else:
try:
iris = IRISNative.createIRIS(conn)
self.supports_vectors = iris.classMethodBoolean(
"%SYSTEM.License", "GetFeature", 28
)
conn.execute(text("SELECT TO_VECTOR('1,2,3', INT, 3)"))
self.supports_vectors = True
except: # noqa
self.supports_vectors = False
if self.supports_vectors:
Expand Down

0 comments on commit 0e10eb5

Please sign in to comment.