You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by Ángel Álvarez Pascua <an...@gmail.com> on 2025/03/21 06:01:37 UTC
Spark build failed> File line length exceeds 100 characters
Hi,
I'm trying to build the project, but I'm encountering multiple errors due
to long lines. Is this expected? I built the project a few weeks ago and
don’t recall seeing these errors.
Is anyone else experiencing the same issue?
[image: image.png]
Thanks in advance.
Re: Spark build failed> File line length exceeds 100 characters
Posted by Ángel Álvarez Pascua <an...@gmail.com>.
I've noticed that the check is set in *scalastyle-config.xml*:
<check level="error" class="org.scalastyle.file.FileLineLengthChecker"
enabled="true">
<parameters>
<parameter name="maxLineLength"><![CDATA[100]]></parameter>
<parameter name="tabSize"><![CDATA[2]]></parameter>
<parameter name="ignoreImports">true</parameter>
</parameters></check>
Given this configuration, how is it possible that some people have been
able to commit changes violating this rule? Moreover, how were these
changes even merged despite failing this validation? It seems like there's
a flaw in the PR pipeline.
El vie, 21 mar 2025 a las 7:01, Ángel Álvarez Pascua (<
angel.alvarez.pascua@gmail.com>) escribió:
> Hi,
>
>
> I'm trying to build the project, but I'm encountering multiple errors due
> to long lines. Is this expected? I built the project a few weeks ago and
> don’t recall seeing these errors.
>
> Is anyone else experiencing the same issue?
>
>
> [image: image.png]
>
> Thanks in advance.
>