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

[Feature]: Schema for unstructured databases like Google Sheets #10705

Open
1 task done
leotom2000 opened this issue Jan 28, 2022 · 4 comments
Open
1 task done

[Feature]: Schema for unstructured databases like Google Sheets #10705

leotom2000 opened this issue Jan 28, 2022 · 4 comments
Assignees
Labels
Enhancement New feature or request Google Sheets Issues related to Google Sheets High This issue blocks a user from building or impacts a lot of users Integrations Pod Issues related to a specific integration Needs Design needs design or changes to design

Comments

@leotom2000
Copy link
Contributor

leotom2000 commented Jan 28, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Summary

Need to have a schema implementation for unstructured databases. It can allow users to define the datatype of columns.
This can solve data inconsistent problem by narrowing the options for users to add data of different datatype on a same column.

Implementation:
(1) Provide a User Interface popup in the query page to preview / define / override the column datatype.
(2) Validate button can preview existing data and auto suggest column datatype.
(2.1) Validate function also alerts data inconsistencies that would have been added manually.
(3) Should prevent users from adding inconsistent data.

Why should this be worked on?

Data stores like google sheets cannot define datatype for a column, at the same time they accept any datatype data for a column. so working with different datatype on the same column gives error while fetching condition based queries.

Front logo Front conversations

@nidhi-nair
Copy link
Contributor

Related #7794

@nidhi-nair nidhi-nair added Datatype issue Issues that have risen because data types weren't handled High This issue blocks a user from building or impacts a lot of users labels Sep 20, 2022
@nidhi-nair nidhi-nair assigned riteshkew and unassigned rohan-arthur Sep 20, 2022
@github-actions github-actions bot added the Data Platform Pod Issues related to the underlying data platform label Sep 20, 2022
@sribalajig sribalajig added the Needs Design needs design or changes to design label Sep 30, 2022
@github-actions github-actions bot added the BE Coders Pod Issues related to users writing code to fetch and update data label Sep 30, 2022
@sribalajig sribalajig added Core Query Execution Issues related to the execution of all queries and removed Datatype issue Issues that have risen because data types weren't handled labels Nov 2, 2022
@yan-hic
Copy link

yan-hic commented Dec 6, 2022

I have a list of invoice "numbers" in GSheet. When using it as source for a table, and the first row is truly numeric, any non-numeric values get stripped at API-level.
I can see in my Fetch SheetRows RAW result that AS strips string values for invoice as it could not coerce to Number.

An invoice number is actually more an ID, and can be in any string-format e.g. ABC-123

Workaround:

  1. create a dummy second (after headers) row with values of 1 or a
  2. add a row offset of 1 to the Fetch API
    -> luckily AS autodetects before offsetting so it uses the 1 and a to guess the column datatype, respectively Number and Plain Text

@trialsin
Copy link

I've that problem too. Using the workaround for now!

@yan-hic
Copy link

yan-hic commented Jan 20, 2023

Unfortunately the workaround of a dummy top row does not always work. I am using Connected Sheets in GSheets for a way to read BigQuery data (BQ -> Sheets -> A/S) and the extracted data cannot be changed, hence cannot insert a row.

Has this feature request got any traction ?

@riteshkew riteshkew added Google Sheets Issues related to Google Sheets and removed Core Query Execution Issues related to the execution of all queries BE Coders Pod Issues related to users writing code to fetch and update data Data Platform Pod Issues related to the underlying data platform labels Apr 8, 2024
@github-actions github-actions bot added the Integrations Pod Issues related to a specific integration label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Google Sheets Issues related to Google Sheets High This issue blocks a user from building or impacts a lot of users Integrations Pod Issues related to a specific integration Needs Design needs design or changes to design
Projects
Status: No status
Development

No branches or pull requests

9 participants