GitHub user wzhfy opened a pull request:
https://github.com/apache/spark/pull/15012
No total size for data source tables in InMemoryCatalog
## What changes were proposed in this pull request?
For data source table in InMemoryCatalog, it's
`catalogTable.storage.locationUri` is None, so total size can't be calculated.
But we can use the `path` parameter in `catalogTable.storage.properties` to
calculate size.
## How was this patch tested?
fix test case
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wzhfy/spark noSize
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15012.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #15012
----
commit 8276ab0ae3dcc59101124c424049cba554f06217
Author: Zhenhua Wang <[email protected]>
Date: 2016-09-08T07:29:16Z
no total size for data source tables in InMemoryCatalog
----
---
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]