error 5764, can´t edit data type of a field in DBeaver - dbeaver

im trying to change the type of data of a field in a table on DBeaver but show me and error
--> [Vertica]VJDBCROLLBACK: Cannot alter the data type of a table column when a node is down <--
the same error is showed when i try to export a table output from Pentaho to my DBeaver table, havings troubles with the format of some files.
the error is pointed to the fields´s format in the export and when i try to change it directly from DBeaver

Related

MySQL Workbench autocomplete is not showing full sql syntax , table and table column names

MySQL Workbench autocomplete is not showing full sql syntax , table and table column names
when autocompletes triggers.
I am using MySQL workbench on MAC Os & below is mysql workbench version
Already tried solution: but not working deleting the cache folder as per
documentation here but not working
screenshot is attached
Incomplete table name
Incomplete sql syntax
Incomplete table column name

Getting db2 error: ibm_db_dbi::ProgrammingError: The last call to execute did not produce any result set

We installed Superset in our development environment and trying to display data in reports format. Reports will be generated form DB2 Database. I am able to access reports properly and i can execute select statements without any issues.
Along with reports, we need to create few tables also. So we created a user with necessary permissions. When I tried to create a table from Superset I am getting the following error message. Same query is working fine from DBeaver (where I connected to the same database with same user name).
Any suggestions/ideas on what I can try?
db2 error:
ibm_db_dbi::ProgrammingError: The last call to execute did not produce
any result set.
Query: MSACCESS is the schema where I am creating MMR1 Table
CREATE TABLE MSACCESS.MMR1(
zip_code VARCHAR(6)
);
Below statement should create a table . Userid has necessary permissions
CREATE TABLE MSACCESS.MMR1(
zip_code VARCHAR(6)
);

On Google Data Studio, using PostgreSQL data, how do I "SELECT * ..." but for camelCase columns?

On Google Data Studio, I cannot create a chart from Postgres data if table columns are in camelCase. I have data in PostgreSQL where I want to get charts from. Integrating it as a data source works fine. Now, I have a problem when creating a chart.
After creating a chart and selecting a data source, I try to add a column, which results in this error:
Error with SQL statement: ERROR: column "columnname" does not exist Hint: Perhaps you meant to reference the column "table.columnName". Position: 8
It just so happens that all my columns are in camelCase. Is there no way around this? Surely this is a basic question that has been resolved.
When connecting to your data source, try using 'Custom query' instead of selecting a table from your database. Then manually write your SQL query where you cast your camel case column names to lower case using sql alias. Worked for me.
example:
SELECT
"camelCaseColA" as cola,
"camelCaseColB" as colb,
"camelCaseColC" as colc
FROM
tableName as table

Getting Mapping error in OLE DB Destination when use SQL Command under Data Access Mode

I am working SSIS integration using Visual Studio 2017. I have tested 'Data Access Mode' Table Or View which did work. Now I need to filter data and I am trying to use 'Data Access Mode' SQL Command and getting Mapping issue in OLE DB Destination Editor.
In Destination Data outsource, I use OLE DB Destination and under 'Component Properties' SQL Command I type following script
INSERT INTO User_Filtered
(UserGUID
,IdNum
,FirstName
,LastName
,Email
,PostCode)
VALUES
(?,?,?,?,?,?)
In mapping getting error
error
error at user dataflow [ole db destination] no column information was returned by the SQL Command
Under the OLD DB Source I typed following script under the SQL Command dataview, which seems fine
SELECT u.*
FROM [AnotherServer].[dbo].[Users] AS u
where [email] IS NOT NULL AND [org] IS NOT NULL
In the OLE DB Destination you only need to use a SELECT statement with the columns that will be inserted into, not an INSERT statement. After this you can map the columns on the Mappings page.

Show definition of custom database datatype

I'm currently working with an existing database, which has a custom datatype called geometry (using the postgis extension). When I extract data from that column in the database all it gives me is a string with 50 chars, but I don't know how the string is created and therefore how I can figure out what the actual data is.
Is there a way to look at custom datatype definitions in postgres?
I tried psql \dT and psql \dT+ but didn't see the definition.
Unfortunately I don't have pgadmin.
Thanks!