kavirajk commented on code in PR #11576:
URL: https://github.com/apache/datafusion/pull/11576#discussion_r1685528790


##########
datafusion-examples/examples/expr_api.rs:
##########
@@ -209,7 +205,7 @@ fn simplify_demo() -> Result<()> {
     );
 
     // String --> Date simplification
-    // `cast('2020-09-01' as date)` --> 18500
+    // `cast('2020-09-01' as date)` --> 18506 # number of days since epoch 
1970-01-01

Review Comment:
   ```bash
   -bash-5.2$ echo "scale=6; ($(gdate +%s -d "2020-09-01") - $(gdate +%s -d 
"1970-01-01")) / 86400" | bc
   18505.958333
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to