You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2018/11/03 16:08:00 UTC
[jira] [Updated] (SPARK-25931) Benchmarking creation of Jackson
parser
[ https://issues.apache.org/jira/browse/SPARK-25931?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-25931:
----------------------------------
Affects Version/s: (was: 2.4.0)
3.0.0
> Benchmarking creation of Jackson parser
> ---------------------------------------
>
> Key: SPARK-25931
> URL: https://issues.apache.org/jira/browse/SPARK-25931
> Project: Spark
> Issue Type: Test
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Maxim Gekk
> Priority: Minor
>
> Existing JSON benchmarks perlineParsing and perlineParsingOfWideColumn don't invoke Jackson parser at all due to an optimization for empty schema introduced SPARK-24959. Need to add new benchmark which should forcibly create Jackson parser for short and wide columns. For example:
> {code:scala}
> spark.read
> .schema(schema)
> .json(path)
> .filter((_: Row) => true)
> .count()
> {code}
> The *.filter((_: Row) => true)* prevents projection pushdown to JSON datasource and forces fully parsing of JSON content.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org