Skip to content

Commit

Permalink
[SPARK-50810][BUILD][FOLLOWUP] Fix code change detection for profiler…
Browse files Browse the repository at this point in the history
… module

### What changes were proposed in this pull request?

Fix code change detection for the `profiler` module in GHA workflow scripts.

### Why are the changes needed?

Without this change, the code update of the `profiler` module won't trigger the corresponding CI jobs

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

modify source code under `connector/profiler` and produce a new git commit

then run
```
$ APACHE_SPARK_REF=apache/master ./dev/is-changed.py -m "core,unsafe,kvstore,avro,utils,network-common,network-shuffle,repl,launcher,examples,sketch,variant,api,catalyst,hive-thriftserver,mllib-local,mllib,graphx,streaming,sql-kafka-0-10,streaming-kafka-0-10,streaming-kinesis-asl,kubernetes,hadoop-cloud,spark-ganglia-lgpl,protobuf,yarn,connect,sql,hive"
false
```
```
$ APACHE_SPARK_REF=apache/master ./dev/is-changed.py -m "core,unsafe,kvstore,avro,utils,network-common,network-shuffle,repl,launcher,examples,sketch,variant,api,catalyst,hive-thriftserver,mllib-local,mllib,graphx,streaming,sql-kafka-0-10,streaming-kafka-0-10,streaming-kinesis-asl,kubernetes,hadoop-cloud,spark-ganglia-lgpl,profiler,protobuf,yarn,connect,sql,hive"
true
```

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes apache#49502 from pan3793/SPARK-50810-followup.

Authored-by: Cheng Pan <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
  • Loading branch information
pan3793 authored and LuciferYang committed Jan 15, 2025
1 parent 973db21 commit 6a7d42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
ui=false
docs=false
fi
build=`./dev/is-changed.py -m "core,unsafe,kvstore,avro,utils,network-common,network-shuffle,repl,launcher,examples,sketch,variant,api,catalyst,hive-thriftserver,mllib-local,mllib,graphx,streaming,sql-kafka-0-10,streaming-kafka-0-10,streaming-kinesis-asl,kubernetes,hadoop-cloud,spark-ganglia-lgpl,protobuf,yarn,connect,sql,hive"`
build=`./dev/is-changed.py -m "core,unsafe,kvstore,avro,utils,network-common,network-shuffle,repl,launcher,examples,sketch,variant,api,catalyst,hive-thriftserver,mllib-local,mllib,graphx,streaming,sql-kafka-0-10,streaming-kafka-0-10,streaming-kinesis-asl,kubernetes,hadoop-cloud,spark-ganglia-lgpl,profiler,protobuf,yarn,connect,sql,hive"`
precondition="
{
\"build\": \"$build\",
Expand Down

0 comments on commit 6a7d42b

Please sign in to comment.