You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Chris Lambertus <cm...@apache.org> on 2019/07/07 18:22:45 UTC

Fwd: Sample date_trunc error for webpage (https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc )

Spark,

We received this message. I have not ACKd it.

-Chris
INFRA


> Begin forwarded message:
> 
> From: "binggan1989" <bi...@aliyun.com>
> Subject: Sample date_trunc error for webpage (https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc )
> Date: July 5, 2019 at 2:54:54 AM PDT
> To: "webmaster" <we...@apache.org>
> Reply-To: "binggan1989" <bi...@aliyun.com>
> 
> 
> 
> I found an example of the function usage given on the website is incorrect and needs to be fixed.
> 
> https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc <https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc>
> 


Re: Sample date_trunc error for webpage (https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc )

Posted by Sean Owen <sr...@apache.org>.
Thanks Russell, that's right. This was already fixed in
https://issues.apache.org/jira/browse/SPARK-24378 a while ago.
@binggan1989@aliyun.com <bi...@aliyun.com> generally you'd want to
report issues vs the latest release, and do so with a JIRA or pull request
for Spark if it still exists in stable releases. Thanks!

On Sun, Jul 7, 2019 at 1:56 PM Russell Spitzer <ru...@gmail.com>
wrote:

> The args look like they are in the wrong order in the doc
>
> On Sun, Jul 7, 2019, 1:50 PM Sean Owen <sr...@apache.org> wrote:
>
>> binggan1989, I don't see any problem in that snippet. What are you
>> referring to?
>>
>> On Sun, Jul 7, 2019, 2:22 PM Chris Lambertus <cm...@apache.org> wrote:
>>
>>> Spark,
>>>
>>> We received this message. I have not ACKd it.
>>>
>>> -Chris
>>> INFRA
>>>
>>>
>>> Begin forwarded message:
>>>
>>> *From: *"binggan1989" <bi...@aliyun.com>
>>> *Subject: **Sample date_trunc error for webpage
>>> (https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc
>>> <https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc> )*
>>> *Date: *July 5, 2019 at 2:54:54 AM PDT
>>> *To: *"webmaster" <we...@apache.org>
>>> *Reply-To: *"binggan1989" <bi...@aliyun.com>
>>>
>>>
>>>
>>> I found an example of the function usage given on the website is
>>> incorrect and needs to be fixed.
>>>
>>> https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org
>
>

Re: Sample date_trunc error for webpage (https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc )

Posted by Russell Spitzer <ru...@gmail.com>.
The args look like they are in the wrong order in the doc

On Sun, Jul 7, 2019, 1:50 PM Sean Owen <sr...@apache.org> wrote:

> binggan1989, I don't see any problem in that snippet. What are you
> referring to?
>
> On Sun, Jul 7, 2019, 2:22 PM Chris Lambertus <cm...@apache.org> wrote:
>
>> Spark,
>>
>> We received this message. I have not ACKd it.
>>
>> -Chris
>> INFRA
>>
>>
>> Begin forwarded message:
>>
>> *From: *"binggan1989" <bi...@aliyun.com>
>> *Subject: **Sample date_trunc error for webpage
>> (https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc
>> <https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc> )*
>> *Date: *July 5, 2019 at 2:54:54 AM PDT
>> *To: *"webmaster" <we...@apache.org>
>> *Reply-To: *"binggan1989" <bi...@aliyun.com>
>>
>>
>>
>> I found an example of the function usage given on the website is
>> incorrect and needs to be fixed.
>>
>> https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc
>>
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe e-mail: dev-unsubscribe@spark.apache.org

Re: Sample date_trunc error for webpage (https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc )

Posted by Sean Owen <sr...@apache.org>.
binggan1989, I don't see any problem in that snippet. What are you
referring to?

On Sun, Jul 7, 2019, 2:22 PM Chris Lambertus <cm...@apache.org> wrote:

> Spark,
>
> We received this message. I have not ACKd it.
>
> -Chris
> INFRA
>
>
> Begin forwarded message:
>
> *From: *"binggan1989" <bi...@aliyun.com>
> *Subject: **Sample date_trunc error for webpage
> (https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc
> <https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc> )*
> *Date: *July 5, 2019 at 2:54:54 AM PDT
> *To: *"webmaster" <we...@apache.org>
> *Reply-To: *"binggan1989" <bi...@aliyun.com>
>
>
>
> I found an example of the function usage given on the website is incorrect
> and needs to be fixed.
>
> https://spark.apache.org/docs/2.3.0/api/sql/#date_trunc
>
>
>