Comments (6)
@agatim
I will check the documents!!
Thank you very much 😄
from local-data-api.
@koxudaxi
Hello!
If you want the column metadata you can query the table information_schema.columns (is available for Postgres and MySQL). Check the documentation:
PostgresSQL: https://www.postgresql.org/docs/9.1/infoschema-columns.html
MySQL: https://dev.mysql.com/doc/refman/8.0/en/columns-table.html
from local-data-api.
Hi @koxudaxi
I hit same error, is there a workaround? Saw your #69 pr but not sure if that fixes it
Thanks!
UPDATE: I just tried your change and now it works
from local-data-api.
Thank you for creating the issue.
It seems that the problem is related to the amount of memory space reserved to the JVM, as suggested into the stacktrace it could be useful to increase it.
I will search for a method of how to increase reserved JVM memory size 👍
By the way, for further enhancement I suggest to remove the JDBC approach for connecting to database instances. Since the program is written in Python, it could be more efficient using psycopg2 o pymysql.
I agree!! But, I choice JDBC driver for actual ColumnMetadata
.
I made it with pymysql
to access a DB.
However, I know we need to get ColumnMetadata
with includeResultMetadata
.
https://docs.aws.amazon.com/rdsdataservice/latest/APIReference/API_ColumnMetadata.html
I had found the metadata came from JDBC drivers.
I had implemented it with the JDBC drivers.
If we can create ColumnMetadata
from pymysql
or driver on python then I change JDBC drivers to another driver on python.
Now, The code is broken to use pymysql
in this app. I will fix it. Sorry.
However, ResultMetadata
is not correct. the quality is a mock level.
from local-data-api.
Thank you for your reporting!!
It's awesome 🚀
I can't be waiting for the release of jpype
😆
from local-data-api.
I think this problem is resolved.
from local-data-api.
Related Issues (20)
- Error creating foreign keys in version 0.6.0! HOT 30
- Doesn't emulate timetz and time with time zone correctly HOT 11
- Autoreload is disabled because the development mode is off HOT 6
- java.net.SocketException: Permission denied HOT 6
- cannot insert array with PostgreSQL HOT 4
- Cannot access local-data-api on AWS CodeBuild HOT 2
- Support resultSetOptions in ExecuteStatementRequest HOT 1
- Support array with PostgreSQL
- Return Postgres Arrays as Type 'arrayValue' HOT 6
- Add EXPOSE to Dockerfile for better Gitlab CI compatibility HOT 4
- local-data-api does not behave the same as the real AWS data-api when handling PreparedStatement string types HOT 2
- local-data-api should respond with an error, if SQL exceeds 65536 characters limit. HOT 1
- Local data api is always using transactions with /Execute HOT 1
- Publish this image to AWS ECR gallery
- Calling local-data-api from another container
- BadRequestException: Connection refused
- Difference in behaviour when passing array formatted string parameters
- Pinned koxudaxi/local-data-api image tag with custom SECRET_ARN support
- Support "formatRecordsAs" in ExecuteStatementRequest
- ExecuteSql is not implemented HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from local-data-api.