You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "gruuya (via GitHub)" <gi...@apache.org> on 2023/01/26 17:05:00 UTC

[GitHub] [arrow-datafusion] gruuya opened a new pull request, #5079: Insert target columns empty fix

gruuya opened a new pull request, #5079:
URL: https://github.com/apache/arrow-datafusion/pull/5079

   # Which issue does this PR close?
   
   Closes #5078.
   
   # Rationale for this change
   
   Enable logical planning of `INSERT` statements without the optional target column list.
   
   # What changes are included in this PR?
   
   If there are no parsed target fields in the `INSERT` statement default to using all the fields from the table's schema.
   
   # Are these changes tested?
   
   Yes.
   
   # Are there any user-facing changes?
   
   Only to users that use Datafusion as a framework where write statements are supported.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on pull request #5079: Insert target columns empty fix

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #5079:
URL: https://github.com/apache/arrow-datafusion/pull/5079#issuecomment-1407402363

   This makes sense to me -- thank you @gruuya 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on a diff in pull request #5079: Insert target columns empty fix

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #5079:
URL: https://github.com/apache/arrow-datafusion/pull/5079#discussion_r1089736283


##########
datafusion/common/src/config.rs:
##########
@@ -323,7 +323,7 @@ pub struct ConfigOptions {
     pub catalog: CatalogOptions,
     /// Execution options
     pub execution: ExecutionOptions,
-    /// Explain options
+    /// Optimizer options

Review Comment:
   ❤️ Nice drive by cleanup



##########
datafusion/sql/tests/integration_test.rs:
##########
@@ -165,13 +165,60 @@ fn plan_insert() {
         "insert into person (id, first_name, last_name) values (1, 'Alan', 'Turing')";
     let plan = r#"
 Dml: op=[Insert] table=[person]
-  Projection: CAST(column1 AS id AS UInt32), column2 AS first_name, column3 AS last_name

Review Comment:
   👍 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] ursabot commented on pull request #5079: Insert target columns empty fix

Posted by "ursabot (via GitHub)" <gi...@apache.org>.
ursabot commented on PR #5079:
URL: https://github.com/apache/arrow-datafusion/pull/5079#issuecomment-1407754466

   Benchmark runs are scheduled for baseline = 842bda3153f17f648a66449bdfa8d262fa3bece0 and contender = 3133526c1f697de43173f6a10c111588307835da. 3133526c1f697de43173f6a10c111588307835da is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
   Conbench compare runs links:
   [Skipped :warning: Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] [ec2-t3-xlarge-us-east-2](https://conbench.ursa.dev/compare/runs/245b594125b94f0e903e8d52d8727313...d661fc1c04c74526b1ecd2e14e01d5e1/)
   [Skipped :warning: Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] [test-mac-arm](https://conbench.ursa.dev/compare/runs/16d31f43e37a440f9dd3aec4f1277018...a6e8450cef6a4bc8a8a9949e1a4a4228/)
   [Skipped :warning: Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] [ursa-i9-9960x](https://conbench.ursa.dev/compare/runs/0155d53b7067455faf1ce8f74e7fe742...16b222185f5b47b69043ffda6e8b741e/)
   [Skipped :warning: Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] [ursa-thinkcentre-m75q](https://conbench.ursa.dev/compare/runs/46d1609019ee47d9b174416a8f958d1e...aee7cc4475734241bd827a4353ee149e/)
   Buildkite builds:
   Supported benchmarks:
   ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
   test-mac-arm: Supported benchmark langs: C++, Python, R
   ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
   ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] avantgardnerio merged pull request #5079: Insert target columns empty fix

Posted by "avantgardnerio (via GitHub)" <gi...@apache.org>.
avantgardnerio merged PR #5079:
URL: https://github.com/apache/arrow-datafusion/pull/5079


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org