Skip to content

Commit 0ee9fd9

Browse files
committed
[SPARK-15935][PYSPARK] Fix a wrong format tag in the error message
## What changes were proposed in this pull request? A follow up PR for #13655 to fix a wrong format tag. ## How was this patch tested? Jenkins unit tests. Author: Shixiong Zhu <[email protected]> Closes #13665 from zsxwing/fix.
1 parent 63e0aeb commit 0ee9fd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dev/run-tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def build_spark_maven(hadoop_version):
335335
def build_spark_sbt(hadoop_version):
336336
# Enable all of the profiles for the build:
337337
build_profiles = get_hadoop_profiles(hadoop_version) + modules.root.build_profile_flags
338-
sbt_goals = ["package",
338+
sbt_goals = ["test:package", # Build test jars as some tests depend on them
339339
"streaming-kafka-0-8-assembly/assembly",
340340
"streaming-flume-assembly/assembly",
341341
"streaming-kinesis-asl-assembly/assembly"]

python/pyspark/sql/streaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def get(self, id):
146146
>>> cq.stop()
147147
"""
148148
if not isinstance(id, intlike):
149-
raise ValueError("The id for the query must be an integer. Got: %d" % id)
149+
raise ValueError("The id for the query must be an integer. Got: %s" % id)
150150
return ContinuousQuery(self._jcqm.get(id))
151151

152152
@since(2.0)

0 commit comments

Comments
 (0)