You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2024/05/03 22:58:00 UTC

[jira] [Created] (SPARK-48123) Provide a constant table schema for querying structured logs

Gengliang Wang created SPARK-48123:
--------------------------------------

             Summary: Provide a constant table schema for querying structured logs
                 Key: SPARK-48123
                 URL: https://issues.apache.org/jira/browse/SPARK-48123
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: Gengliang Wang
            Assignee: Gengliang Wang


Providing a table schema LOG_SCHEMA, so that users can load structured logs with the following:

```

spark.read.schema(LOG_SCHEMA).json(logPath)

```



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org