regadas / trino-js-client Goto Github PK
View Code? Open in Web Editor NEWA TypeScript client library for Trino
Home Page: https://regadas.dev/trino-js-client
License: MIT License
A TypeScript client library for Trino
Home Page: https://regadas.dev/trino-js-client
License: MIT License
Request/Response headers are not being set properly.
hi brother , I find the mian branch have new code to support https ใ
could you push a new version npm ?
@regadas @elferherrera
Such as all of the authentication types listed here. Filing this as sort of a feature request ๐ but would be happy to possibly contribute here. The Auth
interface looks clean enough to extend pretty easily.
In the introductory documentation the following snippet is offered...
Lines 42 to 44 in 97e599a
A followup snippet explains how you consume the result...
Lines 50 to 52 in 97e599a
I don't know how the example offered would ever compile and run, since the for await...of
signature requires an AsyncIterator. See the following typescript playground.
Look into how would this look like.
In the library exponential needs to implemented for checking the nextUri
Is there going be a performance impact if we directly check the nextUri without polling or doing exponential backoff?
Possibility to provide extra / additional request headers will help to solve some issues with connection to Trino inside cluster.
When some service setup inside one k8 cluster with Trino, you have a possibility to call it via http, but you have to pass X-Forwarded-Proto: "https"
as axios request header.
So, would be great to extend ConnectionOptions interface (f.e. with extraHeaders property) and pass them to query method for headers.
When using axios 1.2.0 we are affected by axios/axios#5296
Change with failed IT tests cafe6d2
From DBeaver I use the JDBC driver for Trino and I needed to manually add three driver parameters:
Is it possible to pass those parameters and their values to this tool?
Hello! I just started using this package and has been the easiest to connect and faster responses among the others I have tried. I have a requirement to return the Trino results in JSON format. Is there a way to add the columns to each of the results in data?
Go from this
[ [ "data1" ] ]
To this
[ { 'column1': "data1" } ]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.