spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From setjet <...@git.apache.org>
Subject [GitHub] spark issue #18080: [Spark-20771][SQL] Make weekofyear more intuitive
Date Mon, 29 May 2017 14:41:30 GMT
Github user setjet commented on the issue:

    https://github.com/apache/spark/pull/18080
  
    This variant is available in other DB's, albeit with slightly different function and parameter
naming. For example, MySQL allows it via the `week()` function: http://www.w3resource.com/mysql/date-and-time-functions/mysql-week-function.php
    
    In this case, you pass in an integer that specifies which permutation you want. Please
note that if you look at the table, the 'Week 1 is the first week …' column is the difference
between gregorian and iso.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message