Skip to content

Commit 8ed3dc4

Browse files
committed
Add some comments about adding new dependencies in datafusion-sql
1 parent 5400d71 commit 8ed3dc4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

datafusion/sql/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ unicode_expressions = []
4343
unparser = []
4444
recursive_protection = ["dep:recursive"]
4545

46+
# Note the sql planner should not depend directly on the datafusion-function packages
47+
# so that it can be used in a standalone manner with other function implementations.
48+
#
49+
# They are used for testing purposes only, so they are in the dev-dependencies section.
4650
[dependencies]
4751
arrow = { workspace = true }
4852
bigdecimal = { workspace = true }
@@ -56,6 +60,7 @@ sqlparser = { workspace = true }
5660

5761
[dev-dependencies]
5862
ctor = { workspace = true }
63+
# please do not move these dependencies to the main dependencies section
5964
datafusion-functions = { workspace = true, default-features = true }
6065
datafusion-functions-aggregate = { workspace = true }
6166
datafusion-functions-nested = { workspace = true }

0 commit comments

Comments
 (0)