Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Budibase Unable to Load Grid When Using External Postgres Database with Time Column #13552

Closed
austinmedina opened this issue Apr 23, 2024 · 1 comment
Labels
bb-data-ui bug Something isn't working env - production Bug found in production externaldb Relating to datasource plus firestorm Data/Infra/Revenue Team

Comments

@austinmedina
Copy link

austinmedina commented Apr 23, 2024

Hosting

  • Self
    • Method: docker-compose
    • Budibase Version: 3

Describe the bug
As the header states, when I try to load a table from my external Postgres database which contains a column of type Time to the data sources section and the premade tables page budibase throws me an error saying Invalid Time Value. This is very similar to issue #9050 . The problem is I cannot use the fix provided because I do not have the option to edit columns or create a view:

image

To Reproduce
Steps to reproduce the behavior:

  1. Create a Postgres database with a table containing a column with datatype Time:SeriesID SERIAL PRIMARY KEY,
    ```CREATE TABLE Series ( SeriesID SERIAL PRIMARY KEY, StartTime TIME NOT NULL ); INSERT INTO Series (StartTime) VALUE('11:00');```
    CREATE TABLE Series ( SeriesID SERIAL PRIMARY KEY, StartTime TIME NOT NULL ); INSERT INTO Series (StartTime) VALUE('11:00');
  2. Connect the Postgres database to Budibase using sources
  3. Open the series table in the sources tab

Expected behavior
I expect the table to be loaded as normal with the time listed as it does in PSQL and/or give me the option to read the column as a datetime, time, etc.

@austinmedina austinmedina added the bug Something isn't working label Apr 23, 2024
@andz-bb andz-bb added env - production Bug found in production bb-data-ui externaldb Relating to datasource plus labels May 7, 2024 — with Linear
@shogunpurple shogunpurple added the firestorm Data/Infra/Revenue Team label May 8, 2024 — with Linear
@linear linear bot closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bb-data-ui bug Something isn't working env - production Bug found in production externaldb Relating to datasource plus firestorm Data/Infra/Revenue Team
Projects
None yet
Development

No branches or pull requests

3 participants