Skip to content

Conversation

ralphrass
Copy link
Contributor

@ralphrass ralphrass commented Jun 13, 2024

Why? 📖

Turn no timezone timestamp available. If one use Butterfree with TimestampFeature it can obtain different values of timestamps due to SO configs, which is bad for time-sensitive feature sets.

What? 🔧

  • New DataType (require Spark >= 3.4)
  • Possibility to change TimestampFeature data type
  • Tests for timestamp differences

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How everything was tested? 📏

Local tests

@ralphrass ralphrass self-assigned this Jun 13, 2024
@ralphrass ralphrass requested a review from a team as a code owner June 13, 2024 12:31
@ralphrass ralphrass changed the title feat: add NTZ feat(MLOP-2236): add NTZ Jun 13, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud


def __init__(
self,
dtype: Optional[DataType] = DataType.TIMESTAMP,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should be?

Suggested change
dtype: Optional[DataType] = DataType.TIMESTAMP,
dtype: Optional[DataType] = DataType.TIMESTAMP_NTZ,

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey @albjoaov !! I set TIMESTAMP as default to migrate our feature sets smoothly!

Copy link
Contributor

@michellyrds michellyrds left a comment

Choose a reason for hiding this comment

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

LGTM

@ralphrass ralphrass merged commit 2a5a6e8 into staging Jun 14, 2024
ralphrass added a commit that referenced this pull request Jun 14, 2024
* feat(MLOP-2236): add NTZ (#360)

* feat: NTZ and new tests
lecardozo pushed a commit that referenced this pull request Feb 18, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.5.0](v1.4.8...v1.5.0)
(2025-02-18)


### Features

* **MLOP-1985:** optional params
([#347](#347))
([9bcca0e](9bcca0e))
* **MLOP-2145:** add feature set creation script
([#351](#351))
([688a5b3](688a5b3))
* **MLOP-2236:** add NTZ
([#360](#360))
([2a5a6e8](2a5a6e8))
* **mlop-2269:** bump versions
([#355](#355))
([887fbb2](887fbb2))
* **mlop-2455:** add release please workflow
([#398](#398))
([353a9b5](353a9b5))
* **mlop-2456:** add protection to host setting on cassandra_client
([#385](#385))
([ab551c0](ab551c0))
* optional row count validation
([#340](#340))
([2a19009](2a19009))


### Bug Fixes

* Cassandra config keys
([#366](#366))
([81c2c17](81c2c17))
* cassandra configs
([#364](#364))
([6363e03](6363e03))
* include extra-files config for version bump
([#400](#400))
([49c91fa](49c91fa))
* **MLOP-2519:** avoid configuring logger at lib level
([#393](#393))
([b7c7d48](b7c7d48))
* move incremental filter
([#388](#388))
([b802f69](b802f69))
* new type
([#368](#368))
([b1949cd](b1949cd))
* parameter, libs
([#341](#341))
([ca1a16d](ca1a16d))
* performance adjustments, migrate
([#378](#378))
([52d4911](52d4911))
* performance improvements
([#374](#374))
([11cc5d5](11cc5d5))
* publish and dev versions
([#359](#359))
([cbda73d](cbda73d))
* release-please action runner
([#402](#402))
([216bd50](216bd50))
* remove unwanted configs for release-please
([#403](#403))
([b2b554e](b2b554e))
* rollback repartition
([#386](#386))
([a11a699](a11a699))
* Rollback to latest stable release
([#391](#391))
([5e6f416](5e6f416))
* sphinx version
([#356](#356))
([5af8a05](5af8a05))
* version, format
([#376](#376))
([5f7028b](5f7028b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
albjoaov added a commit that referenced this pull request Feb 19, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.5.0](1.4.7...1.5.0)
(2025-02-19)


### Features

* **MLOP-1985:** optional params
([#347](#347))
([9bcca0e](9bcca0e))
* **MLOP-2145:** add feature set creation script
([#351](#351))
([688a5b3](688a5b3))
* **MLOP-2236:** add NTZ
([#360](#360))
([2a5a6e8](2a5a6e8))
* **mlop-2269:** bump versions
([#355](#355))
([887fbb2](887fbb2))
* **mlop-2455:** add release please workflow
([#398](#398))
([353a9b5](353a9b5))
* **mlop-2456:** add protection to host setting on cassandra_client
([#385](#385))
([ab551c0](ab551c0))
* optional row count validation
([#340](#340))
([2a19009](2a19009))


### Bug Fixes

* Cassandra config keys
([#366](#366))
([81c2c17](81c2c17))
* cassandra configs
([#364](#364))
([6363e03](6363e03))
* include extra-files config for version bump
([#400](#400))
([49c91fa](49c91fa))
* **MLOP-2519:** avoid configuring logger at lib level
([#393](#393))
([b7c7d48](b7c7d48))
* **mlop-2649:** fix release process
([#406](#406))
([880bc0c](880bc0c))
* move incremental filter
([#388](#388))
([b802f69](b802f69))
* new type
([#368](#368))
([b1949cd](b1949cd))
* parameter, libs
([#341](#341))
([ca1a16d](ca1a16d))
* performance adjustments, migrate
([#378](#378))
([52d4911](52d4911))
* performance improvements
([#374](#374))
([11cc5d5](11cc5d5))
* publish and dev versions
([#359](#359))
([cbda73d](cbda73d))
* release-please action runner
([#402](#402))
([216bd50](216bd50))
* remove unwanted configs for release-please
([#403](#403))
([b2b554e](b2b554e))
* rollback repartition
([#386](#386))
([a11a699](a11a699))
* Rollback to latest stable release
([#391](#391))
([5e6f416](5e6f416))
* sphinx version
([#356](#356))
([5af8a05](5af8a05))
* version, format
([#376](#376))
([5f7028b](5f7028b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: joao.albuquerque <[email protected]>
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.

3 participants