aboutsummaryrefslogtreecommitdiff
path: root/sql/core
diff options
context:
space:
mode:
authorMark Grover <mark@apache.org>2016-01-21 21:17:36 -0800
committerDavies Liu <davies.liu@gmail.com>2016-01-21 21:17:36 -0800
commit006906db591666a7111066afd226325452be2e3e (patch)
treec2066217fe123dc1449f0154092b702a718ea6db /sql/core
parent55c7dd031b8a58976922e469626469aa4aff1391 (diff)
downloadspark-006906db591666a7111066afd226325452be2e3e.tar.gz
spark-006906db591666a7111066afd226325452be2e3e.tar.bz2
spark-006906db591666a7111066afd226325452be2e3e.zip
[SPARK-12960] [PYTHON] Some examples are missing support for python2
Without importing the print_function, the lines later on like ```print("Usage: direct_kafka_wordcount.py <broker_list> <topic>", file=sys.stderr)``` fail when using python2.*. Import fixes that problem and doesn't break anything on python3 either. Author: Mark Grover <mark@apache.org> Closes #10872 from markgrover/python2_compat.
Diffstat (limited to 'sql/core')
0 files changed, 0 insertions, 0 deletions