Comments (6)
Hi Mark - from what you’ve said I suspect there might be something about the GreenPlum DB table definitions that’s confusing QueryTree. I’ll download the GPDB docker image and do some investigation.
from querytree.
Ok, so I ran the Greenplumb docker image, created a table named test (in the gpadmin schema)
create table test
(
id serial (10) default nextval('test_id_seq':: regclass ) not null
constraint test_pkey
primary key,
name varchar(50),
description varchar(250)
);
and connected QueryTree to it, and all seems well:
Maybe there's something specific in your schema that's causing a problem. Perhaps you could create a new schema, point QueryTree at it, and then add some of your tables, checking QueryTree each time, until you find the one that causes QueryTree to fall over. Then you could send me the SQL and we can figure out why QueryTree doesn't like it.
from querytree.
Hello
Thanks so much for your prompt support, I think the difference is that I'm using greenplum 4.3.25 (there are two streams of greenplum still) where you possibly used the 5 stream, my version is based on PostgreSQL 8.3, your version I think is based on 8.4 and the catalogs may be different, in particular I think pg_enum is different or something like that on greenplum 4.3x stream
Anyway I believe the difference should be minimal as some tools, example redash, can see the tables of both greenplum streams
I also have several schemas, if you think that could be the issue, could you kindly point me to where I can setup the schema in querytree?
Thanks heaps!
Best regards
Mark
from querytree.
Quick update, I tried QueryTree on postgres 8, 9 and 10, it seems that it works well with 8.4 to 9, it does not work properly with 10, same issue of not showing the tables
Thanks!
from querytree.
Thanks for your help. I've tried QueryTree with Postgres 10 today and it seemed OK. So I think this must be something specific about your database schema that QueryTree can't handle properly.
When I say:
Perhaps you could create a new schema, point QueryTree at it, and then add some of your tables, checking QueryTree each time, until you find the one that causes QueryTree to fall over. Then you could send me the SQL and we can figure out why QueryTree doesn't like it.
What I mean is, the first time QueryTree connects to any database, it queries the INFORMATION_SCHEMA views in the database to see what tables, views and columns there are. (see DbManager.cs) So if you're not seeing any tables in the dropdown that suggests that either QueryTrees's connection details haven't given it access to any tables, or that the code has fallen over somehow while querying it. Maybe one of the columns has a type that's confused it. Or maybe a table has a strange character in its name.
If you could get to a point where you can post a schema definition script on this issue that reproduces the problem, then I'm sure we can fix it. E.g.
CREATE SCHEMA "QTIssue14";
SET search_path TO "QTIssue14";
CREATE TABLE ...;
CREATE TABLE ...;
CREATE TABLE ...;
One thing to keep in mind is that QueryTree caches the schema information once it's loaded it. So when you make schema changes, either restart QueryTree, or delete and recreate the database connection using the QueryTree UI.
from querytree.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from querytree.
Related Issues (20)
- hostpolicy.dll is missing HOT 1
- cannot connect to either mysql or sql express on my PC HOT 1
- Can't see the option to use Advanced Reporting HOT 1
- Write my own sql Queries HOT 1
- Error during connectin to PostgreSQL: SSL is required HOT 2
- postgresql connection strings: support "sslmode" parameter HOT 1
- New tables/Views added to database not showing HOT 2
- Cannot install QueryTree from source HOT 1
- "No tables found" in PostgreSQL connection HOT 6
- Team Invite post failing with 404 error HOT 1
- Caution using this in production - scheduled emails creates many long running queries HOT 1
- Multi tenant situation HOT 2
- Advanced report builder is missing, no link displayed next to simple report builder header. HOT 1
- how to deploy query tree HOT 2
- how to integrate/embeded it into existing app (angular 14)
- QueryTree dotnet version update in Dockerfile breaks invitation HOT 1
- Scheduled reports error on save HOT 2
- Querytree
- QueryTree Documentation Empty - No content displayed
- Docker image in Cpanel - unable to connect to database or download a SSL Key
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 querytree.