Github user yanbohappy commented on the pull request:

    https://github.com/apache/spark/pull/4527#issuecomment-74424908
  
    This improvement is very similar with #758, so I have run the similar 
performance test.
    The benchmark suggests this optimization made the optimized version about 
1.5x to 2x faster when scanning JSON table, but it depends on the JSON schema 
especially for whether different record with different schema.
    For a JSON file with 188010 lines, the build scan consumed time is: 
    original: Takes 15598 ms
    optimized: Takes 10152 ms



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to