Releases: heavyai/heavyai-connector
Releases · heavyai/heavyai-connector
4.2.0
Thrift bindings 0.10
Thrift runtime 0.9.3
OmniSci Core 4.2.0
Added Thrift methods:
- hasObjectPrivilegesAsync (has_object_privilege)
- getAllRolesForUserAsync (get_all_roles_for_user)
Added support for precision property on columns, and properly converting timestamps of any precision to millisecond-precision Date objects
Add query logging to error responses when logging is enabled (via .logging(true)
)
Define Connector API
- Expose public methods only.
- Remove sync methods.
- Make getResultRowForPixel take a single callback. (It still accepts an array of callbacks but warns that's deprecated.)
- Drop "*Async" method suffix (since everything's async now).
- Everything uses node-style callbacks. (Promises not supported in IE11.)
- clean up JSDocs
- Add integration tests for all public methods (except side-effect-ful ones for now).
- Remove multiplexing. (It's never used and makes the code complex).
- connect
- createFrontendView
- createLink
- createTable
- dbName
- deleteFrontendView
- detectColumnTypes
- disconnect
- getFields
- getFrontendView
- getFrontendViews
- getLinkView
- getPixel
- getServerStatus
- getTables
- host
- logging
- password
- port
- protocol
- query
- renderVega
- sessionId
- user
- validateQuery
Reset thrift connection on bad arguments
🐞 Backward compatible bug fixes
- Wrap methods to reset thrift client on bad args (#25)
add node-connector, rename mapd-connector browser-connector
- rename dist/mapd-connector to dist/browser-connector
🆕 Backward compatible changes
- add dist/node-connector;
require("@mapd/mapd-connector")
points to it. - browser-connector bundles thrift files, so they don't need to be included separately.