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

Fix created timestamp related errors for BigQuery source #1474

Merged
merged 2 commits into from
Apr 19, 2021

Conversation

jklegar
Copy link
Collaborator

@jklegar jklegar commented Apr 16, 2021

Signed-off-by: Jacob Klegar jacob@tecton.ai

What this PR does / why we need it: Fix errors in historical retrieval when created_timestamp_column is not set on a BigQuery data source

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:

NONE

Signed-off-by: Jacob Klegar <jacob@tecton.ai>
@jklegar
Copy link
Collaborator Author

jklegar commented Apr 16, 2021

/kind housekeeping

@@ -281,7 +296,12 @@ def test_historical_features_from_parquet_sources():
@pytest.mark.parametrize(
"provider_type", ["local", "gcp"],
)
def test_historical_features_from_bigquery_sources(provider_type):
@pytest.mark.parametrize(
"created_timestamp_column", ["created", ""],
Copy link
Member

Choose a reason for hiding this comment

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

My only feedback is that these tests tend to run long, and will run even longer in the future the more we start to parameterize it. Would it be better to just have a single source (out of multiple) that doesnt have a created TS?

Copy link
Member

@woop woop left a comment

Choose a reason for hiding this comment

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

Just one comment, otherwise it looks good

Signed-off-by: Jacob Klegar <jacob@tecton.ai>
@woop
Copy link
Member

woop commented Apr 19, 2021

/lgtm

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jklegar, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@feast-ci-bot feast-ci-bot merged commit b8ef24e into feast-dev:master Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants