SteveLauC commented on code in PR #9259:
URL: https://github.com/apache/arrow-datafusion/pull/9259#discussion_r1506851784


##########
datafusion-cli/src/catalog.rs:
##########
@@ -199,6 +201,16 @@ impl SchemaProvider for DynamicFileSchemaProvider {
         self.inner.table_exist(name)
     }
 }
+fn substitute_tilde(cur: String) -> String {
+    if let Some(usr_dir_path) = home_dir() {
+        if let Some(usr_dir) = usr_dir_path.to_str() {
+            if cur.starts_with('~') && !usr_dir.is_empty() {

Review Comment:
   Should we support this on Windows as well? From this 
[post](https://superuser.com/q/332871/1597536), this sign is only supported by 
Powershell



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to