diff options
author | kai <kaizeng@eecs.berkeley.edu> | 2014-11-14 23:44:23 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2014-11-14 23:44:23 -0800 |
commit | cbddac23696d89b672dce380cc7360a873e27b3b (patch) | |
tree | ec6fc4469ed5fa4d1d86133dfbfdaacf4c54b4c9 /pom.xml | |
parent | 60969b0336930449a826821a48f83f65337e8856 (diff) | |
download | spark-cbddac23696d89b672dce380cc7360a873e27b3b.tar.gz spark-cbddac23696d89b672dce380cc7360a873e27b3b.tar.bz2 spark-cbddac23696d89b672dce380cc7360a873e27b3b.zip |
Added contains(key) to Metadata
Add contains(key) to org.apache.spark.sql.catalyst.util.Metadata to test the existence of a key. Otherwise, Class Metadata's get methods may throw NoSuchElement exception if the key does not exist.
Testcases are added to MetadataSuite as well.
Author: kai <kaizeng@eecs.berkeley.edu>
Closes #3273 from kai-zeng/metadata-fix and squashes the following commits:
74b3d03 [kai] Added contains(key) to Metadata
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions