I am using LibreOffice 5.3.4.2. When creating a query in the Database I entered the following:
SELECT `ts`, `serial`, `avg_ac_power_kw`, CURDATE( ) FROM `solar`.`line` AS `line` WHERE `ts` > CURDATE( ) ORDER BY 'ts'
And while when used in a column CURDATE( ) returns today’s date, the WHERE clause does not appear to be acting on the constraint and earlier dates are returned.
As far as unconstrained, data is returning correctly. There are no issues with TimeZone conversions and those appear to be working correctly. The solar.line collection is constantly appended to, so if I query and order by latest timestamp, I see correct timestamps showing in the result.
So, the filter does not appear to be working. I have tried both MariaDB and MySQL JDBC drivers. The filtering works fine from SequelPro as well as MySQL WorkBench applications. So, I am not sure why this is not working from Libre Database product.
My eventual goal is to create this query in Database and use it as a source in the Calc.