opendatacube / datacube-core

Open Data Cube analyses continental scale Earth Observation data through time
http://www.opendatacube.org
Apache License 2.0
493 stars 175 forks source link

Get rid of common_timestamp function in 1.9.x #1584

Open SpacemanPaul opened 1 month ago

SpacemanPaul commented 1 month ago

The common_timestamp sql function is no longer required as it can be more efficiently replaced with the postgresql double colon (::) type-cast operator. This is not supported by SQLAlchemy 1.4, and so cannot be done in the 1.8 branch, but should be relatively easy to factor out in 1.9

(See https://github.com/opendatacube/datacube-explorer/pull/595)