Hasura explorer disappears - postgresql

For some reason, and after I create a custom SQL Function on PostgreSQL and add a computed field to another relation based on that function, Hasura explorer data disappears.
So, basically, I am facing this exact issue but I can see it's closed without any clear solution: https://github.com/hasura/graphql-engine/issues/5514
Does anyone have a workaround?

Related

How to access the Check Dialog in pgAdmin 4?

I'm using pgAdmin 4 and have used the ERD tool to create all tables, relationships and constraints so far.
I'm trying to add a check constraint via the dialogs (https://www.pgadmin.org/docs/pgadmin4/development/check_dialog.html) but don't seem to be able to.
I'm using the pgerd file to generate the SQL required to generate my tables, which is why I'd like to keep everything in that file.
This question How to Add a Check Constraint in a Table in pgadmin 4? seems to show different options to what I see.
(I don't have the check option with the constraints tab)
Can anyone advise or point me in the right direction?
It appears you are not able to access the check dialog options when using the pgAdmin 4 erd tool
If you are not using the erd tool, you can access the check dialog options tab as stated by kashyap-neeraj in their answer
How to Add a Check Constraint in a Table in pgadmin 4?
(right click the table in the pgAdmin browser (the left column) and select properties)

DBeaver dont show meta data of external table

I have external tables (spectrum in S3).
I can query them without any problem but when im trying to expand my table columns im getting this error:
Does someone knows how can I fix it and show the external table meta data?
What DBeaver version do you use? We fixed this issue a few months ago. Maybe an update of the DBeaver version will help you.

Grafana dashboard custom variable as a json object

We are using grafana to visualize our metrics and very glad to use it.
For one dashboard I need to create custom variable to show host name. For example, we have the first variable: host with query collectd.localhost.ping.ping-* and regexp /ping-(.*)/. It returns a list of hosts that we ping. Now I want to add showing title depends on selected host. I think need to add another custom variable title like map host1:Title1;host2:Title2 and in the panel's title write something like Proxy ${title:json}.${host} in result get Proxy TitleN.
How to do it? We use 7.2.1 grafana version.
Thank you!
I'm not sure if this is a great answer, but given it's been nearly two years without any answer, I'll proffer it. Having just commented how I was surprised no one had in fact answered, I kept poking around. Eventually I found that if added a variable interactively, and then I clicked dashboard settings followed by JSON Model I got to a description that included new data in the templating field. I pasted that into my original JSON description of the dashboard, and restarted Grafana --- the change persisted.

Not able to view grid lines in MySQL Workbench

I'm trying to create a schema, but in Workbench when I add a diagram it shows nothing. I've tried adding tables and nothing shows up. I'm not sure what I'm missing here. Does anyone know why this is occurring?
Diagraming is part of modeling, so it will not affect your live database. Either use modeling then forward-engineer the model/diagram, or simply edit the database/schema with Workbench (and don't use modeling). The latter is simpler and more straight-forward.
Consider the FAQ entry titled How do I create a MySQL database (schema) in MySQL Workbench?
Or if you're goal here is to use modeling, then consider the tutorial titled Creating a Model; and it also shows the forward-engineering procedure.

Prompting for a different data source in Crystal Reports 10

G'day!
I'm using a command to bring up information from our main pay database. This part of the report is working just fine.
I'd like to be able to prompt the user to specify their datasource location using a parameter field, in case they'd like to be able to use one of their pay test databases. Kind of like prompting for a date, but being able to connect to a different database.
Is there a way to do this? I'd thought maybe creating a {?source} parameter field in the command, and beginning the command with USE {?source}, but it doesn't really feel right, or like it would work as I'm basically trying to change the current connection through code.
Thanks for your time!
This is possible but the moment when the report is started will be too late to set the datasource.
You can create some logic in your app to get the desired datasource and when the user starts the report you will set it