From 0ee9fd9e528206a5edfb2cc4a56538250b428aaf Mon Sep 17 00:00:00 2001 From: Shixiong Zhu Date: Tue, 14 Jun 2016 19:45:11 -0700 Subject: [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 Closes #13665 from zsxwing/fix. --- python/pyspark/sql/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/pyspark/sql/streaming.py b/python/pyspark/sql/streaming.py index 0edaa51549..1d650946be 100644 --- a/python/pyspark/sql/streaming.py +++ b/python/pyspark/sql/streaming.py @@ -146,7 +146,7 @@ class ContinuousQueryManager(object): >>> cq.stop() """ if not isinstance(id, intlike): - raise ValueError("The id for the query must be an integer. Got: %d" % id) + raise ValueError("The id for the query must be an integer. Got: %s" % id) return ContinuousQuery(self._jcqm.get(id)) @since(2.0) -- cgit v1.2.3