test for ambiguities
sparksql: only define functions if pyspark is defined
Merge pull request #622 from mrocklin/test-ambiguities

test for ambiguities