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

aggregation: add warnings for aggregations on top of keyed datasets #614

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

nonibansal
Copy link
Contributor

@nonibansal nonibansal commented Dec 11, 2024

Important

Add warnings for aggregations on keyed datasets in visitAggregate and update version to 1.5.61.

  • Behavior:
    • Add warning in visitAggregate in datasets.py for aggregations on keyed datasets unless all windows are discrete forever or along is set.
    • Update logic to determine all_discrete, all_continuous, and all_discrete_forever in visitAggregate.
    • Modify is_terminal condition to use all_continuous in visitAggregate.
  • Versioning:
    • Update version to 1.5.61 in pyproject.toml and CHANGELOG.md.

This description was created by Ellipsis for 16e8cb6. It will automatically update as commits are pushed.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 7d5e761 in 40 seconds

More details
  • Looked at 73 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. fennel/datasets/datasets.py:2925
  • Draft comment:
    The condition for issuing a warning is incorrect. It should warn if along is None and not all windows are discrete forever, regardless of the timestamp check. The current logic will not warn if along is set to a non-timestamp field, which is not the intended behavior.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.

Workflow ID: wflow_LZj3qTV6YHynak9z


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on 57ed51f in 42 seconds

More details
  • Looked at 73 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. fennel/datasets/datasets.py:2925
  • Draft comment:
    The warning logic is incorrect. It should warn if 'along' is None and not all windows are discrete forever, or if 'along' is set to the timestamp field. The current condition will not trigger the warning correctly in all cases.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.

Workflow ID: wflow_h7tE9brPc3gKnC1v


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Incremental review on e00ca45 in 54 seconds

More details
  • Looked at 100 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_IrLN5GhRLh3wJ3rj


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

fennel/datasets/datasets.py Show resolved Hide resolved
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on 16e8cb6 in 54 seconds

More details
  • Looked at 100 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 drafted comments based on config settings.
1. fennel/CHANGELOG.md:3
  • Draft comment:
    The version number here should be 1.5.60 to match the PR description and the changes made in pyproject.toml.
  • Reason this comment was not posted:
    Decided after close inspection that this draft comment was likely wrong and/or not actionable:
    The comment is asking for a change based on information not present in the diff. The changelog entry for 1.5.61 seems consistent with the rest of the file. Without seeing the PR description or pyproject.toml, I cannot verify the comment's claim.
    I might be missing context from the PR description or pyproject.toml, but the comment does not provide strong evidence for a required change based on the diff alone.
    The comment relies on external context not provided in the diff, which makes it speculative. The changelog entry appears correct within the context of the file.
    Delete the comment because it relies on external context not present in the diff and does not provide strong evidence for a required change.
2. pyproject.toml:3
  • Draft comment:
    The version number here should be 1.5.60 to match the PR description.
  • Reason this comment was not posted:
    Marked as duplicate.

Workflow ID: wflow_ApQ2lS6KZyVFOr7K


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@nonibansal nonibansal enabled auto-merge (rebase) December 16, 2024 06:14
@nonibansal nonibansal merged commit da2ebca into main Dec 16, 2024
8 checks passed
@nonibansal nonibansal deleted the nitin/warning branch December 16, 2024 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants