tools4origins
tools4origins
A regression was introduced in the latest commit on master: `spark.range(3).show()` printed not wanted blank lines: ``` +---+ | id| +---+ | 0| | 1| | 2| +---+ ``` This...
This PR is on top of #157 so it may be good to merge #157 first. A diff between PR can be found here: https://github.com/tools4origins/pysparkling/pull/7/files It adds column data types...
This PR implements an ANTLR-based logic to parse SQL. ANTLR is a parser generator used by Apache Spark. As such, we are able to use the exact spark SQL syntax....
This code throws an error whereas one would expect it to return `False`: ```python from sympy.geometry import * Circle(Point(1, 2), 3) == Line(Point(0,0), Point(0,1)) ``` The error is: ``` Traceback...
Should we remove Python2.7/Pypy2.7 support, as it is reaching its end of life very soon (https://pythonclock.org/)? Supporting 2.7 seems not obvious for some cases in Spark SQL (last Travis run:...
Hello, `RDD.takeSample` input parameters are currently in pysparkling as such: ```python def takeSample(self, n): ... ``` Whereas PySpark defines it like that: ```python def takeSample(self, withReplacement, num, seed=None): ... ```...
Hello, In spark, when the parameter `shuffle` is False, `coalesce` merges partitions which result in partitions of unequal size and prevent the number of partitions from increasing. On the other...
Hello, I am using both S3 and HDFS and found a discrepancy between their `resolve_filenames` method in pysparkling because of the underlying libraries: `boto.s3.bucket.Bucket.list` expect a path without a leading...
Hello, ```python from pysparkling import Context from operator import add rdd = Context().parallelize([1, 2], 10) print(rdd.reduce(add)) ``` Throws `TypeError: reduce() of empty sequence with no initial value` at `src/pysparkling/pysparkling/rdd.py"`, line...