In the Spark Quickstart guide, the initial docker-compose example specifies an entrypoint script in a multi-line string. The string is mistakenly started with the 'folded style' indicator >, which causes formatters to collapse it into one line.
Changing to the 'literal style' indicator | resolves the issue and preserves formatting.
In the Spark Quickstart guide, the initial docker-compose example specifies an entrypoint script in a multi-line string. The string is mistakenly started with the 'folded style' indicator
>
, which causes formatters to collapse it into one line.Changing to the 'literal style' indicator
|
resolves the issue and preserves formatting.Folded Style: https://yaml.org/spec/1.2.2/#813-folded-style Literal Style: https://yaml.org/spec/1.2.2/#812-literal-style