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

Improve typings #14281

Merged
merged 9 commits into from
Jul 31, 2024
Merged

Improve typings #14281

merged 9 commits into from
Jul 31, 2024

Conversation

adrinr
Copy link
Collaborator

@adrinr adrinr commented Jul 30, 2024

Description

Type untyped APIs and improve schema typing

@adrinr adrinr requested a review from a team as a code owner July 30, 2024 15:53
@adrinr adrinr requested review from samwho and removed request for a team July 30, 2024 15:53
@github-actions github-actions bot added firestorm Data/Infra/Revenue Team size/s labels Jul 30, 2024
@adrinr adrinr requested a review from mike12345567 July 30, 2024 15:54
@adrinr adrinr marked this pull request as draft July 30, 2024 15:54
@github-actions github-actions bot added size/m and removed size/s labels Jul 30, 2024
@@ -102,7 +103,7 @@ describe.each([
): SaveTableRequest {
const defaultSchema: TableSchema = {
id: {
type: FieldType.AUTO,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The id field is mandatory for external ds, and having it as auto causes conflicts with parallel creations. Having them as number solves that issue and its closer to the real BB use cases

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is correct anyway - no columns actually have a FieldType.AUTO type.

@adrinr adrinr marked this pull request as ready for review July 30, 2024 17:26
@adrinr adrinr enabled auto-merge July 31, 2024 09:45
@adrinr adrinr merged commit daff1a4 into master Jul 31, 2024
12 checks passed
@adrinr adrinr deleted the chore/improve_typings branch July 31, 2024 10:02
@github-actions github-actions bot locked and limited conversation to collaborators Jul 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
firestorm Data/Infra/Revenue Team size/m
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants