substrait-io / substrait-java

Apache License 2.0
72 stars 70 forks source link

feat: deprecate Timestamp and TimestampTZ visit functions #273

Closed mbwhite closed 1 week ago

mbwhite commented 2 weeks ago

By marking the function as @Deprecated and providing a default implementation makes users code a lot cleaner.

Directly implementations of the interface previously would need to implement these methods and cope with the Deprecation warning.

With this change if they are using it, no problems; but they are not obliged to implement it.