[
https://issues.apache.org/jira/browse/SPARK-16423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-16423:
---------------------------------
Labels: bulk-closed (was: )
> Inconsistent settings on the first day of a week
> ------------------------------------------------
>
> Key: SPARK-16423
> URL: https://issues.apache.org/jira/browse/SPARK-16423
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Yin Huai
> Priority: Major
> Labels: bulk-closed
>
> For the function {{WeekOfYear}}, we explicitly set the first day of the week
> to {{Calendar.MONDAY}}. However, {{FromUnixTime}} does not explicitly set it.
> So, we are using the default first day of the week based on the locale
> setting (see
> https://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html#setFirstDayOfWeek-int-).
>
> Let's do a survey on what other databases do and make the setting consistent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]