alamb commented on code in PR #15204:
URL: https://github.com/apache/datafusion/pull/15204#discussion_r1993536559


##########
datafusion/datasource-csv/src/file_format.rs:
##########
@@ -666,8 +666,10 @@ impl DisplayAs for CsvSink {
                 write!(f, ")")
             }
             DisplayFormatType::TreeRender => {
-                // TODO: collect info
-                write!(f, "")
+                if !self.config.file_groups.is_empty() {

Review Comment:
   I debugged a bit more and it seems the issue is that the actual filename 
target is in `self.config.table_path` rather than self.config_file_groups
   
   However, this way is consisent with the other data sinks
   
   @irenjj  is there any chance you can make a ticket / PR to fix this?



-- 
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-unsubscr...@datafusion.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to