Fu Chen created SPARK-54749:
-------------------------------
Summary: Fix incorrect numOutputRows metric in OneRowRelationExec
Key: SPARK-54749
URL: https://issues.apache.org/jira/browse/SPARK-54749
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 4.1.0
Reporter: Fu Chen
{code:java}
WARNING: Using incubator modules: jdk.incubator.vector
Using Spark's default log4j profile: org/apache/spark/log4j2-defaults.properties
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use
setLogLevel(newLevel).
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 4.1.0
/_/Using Scala version 2.13.17 (OpenJDK 64-Bit Server VM, Java 17.0.17)
Type in expressions to have them evaluated.
Type :help for more information.
25/12/18 12:40:43 WARN NativeCodeLoader: Unable to load native-hadoop library
for your platform... using builtin-java classes where applicable
Spark context Web UI available at http://10.27.36.96:4040
Spark context available as 'sc' (master = local[*], app id =
local-1766032843888).
Spark session available as 'spark'.scala> spark.sql("select 1 as c1").show
warning: 1 deprecation (since 2.13.3); for details, enable `:setting
-deprecation` or `:replay -deprecation`
+---+
| c1|
+---+
| 1|
+---+ {code}
!image-2025-12-18-12-42-23-554.png!
the expected metrics `number of output rows` should be 1
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]