Skip to content

Spark UI Repr is Too Verbose #2369

@matan129

Description

@matan129

Hi, when using Elasticsearch with Spark, the ElasticsearchRelation string repr is super verbose. It prints out all the settings of the ES Connector, including the query body, fields and other parameters:

Image

Note the horizontal scrollbar - in this case, I used quite a long query and it makes the Spark plan basically unreadable since I can't fit it on one screen.

Can you please patch the relevant part of ElasticsearchRelation? I wasn't sure if this is just the .toString() method, or something else.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions