You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "l1t1 (via GitHub)" <gi...@apache.org> on 2024/03/08 04:48:54 UTC

[I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

l1t1 opened a new issue, #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501

   ### Describe the bug
   
   use pageup key to get the history command,
   if I move the cursor to the left position of g and press `(`, it insert the `(` after g
   ```
   ❯ select g(enerate_series(1,10);
   ```
   
   ### To Reproduce
   
   datafusion-cli
   input 
   select g(enerate_series(1,10);
   +-------------------------------------+
   | generate_series(Int64(1),Int64(10)) |
   +-------------------------------------+
   | [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]     |
   +-------------------------------------+
   then 
   use pageup key to get the history command,
   if I move the cursor to the left position of g and press `(`
   
   
   ### Expected behavior
   
   insert `(` before g
   
   ### Additional context
   
   _No response_


-- 
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.apache.org

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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "l1t1 (via GitHub)" <gi...@apache.org>.
l1t1 commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-2048631767

   > > could you attach the binary file?
   > 
   > @l1t1 Sure! Is this OK? Does it help you? [datafusion-cli.zip](https://github.com/apache/arrow-datafusion/files/14934061/datafusion-cli.zip)
   
   it works, very thanks


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #9501: datafusion-cli cursor isn't on the right position in windows 7 cmd
URL: https://github.com/apache/arrow-datafusion/issues/9501


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "colommar (via GitHub)" <gi...@apache.org>.
colommar commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-2047278922

   @l1t1 I guess it was fine now. Can you help me test it on your pc?


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-2004801533

   Thanks for the report @l1t1 
   
   Maybe we could change the prompt character on windows (perhaps to `>`) ?


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-2047024846

   Great @colommar !
   
   To test the change locally you can do something like this
   ```shell
   cd datafusion/datafusion-cli
   cargo run
   ```


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "l1t1 (via GitHub)" <gi...@apache.org>.
l1t1 commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-1992818167

   this prompt displayed as a box in cmd of windows 7
   ![2024-03-13_082138](https://github.com/apache/arrow-datafusion/assets/23301704/82637d20-ee44-4fe6-b2e8-39bb2406909f)
   


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "colommar (via GitHub)" <gi...@apache.org>.
colommar commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-2047821337

   > could you attach the binary file?
   
   Sure! Is this OK? 
   [datafusion-cli.zip](https://github.com/apache/arrow-datafusion/files/14934061/datafusion-cli.zip)
   


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "l1t1 (via GitHub)" <gi...@apache.org>.
l1t1 commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-1992804340

   maybe the root of the problem is the prompt `❯` is a utf-8 character, it occupied multi-bytes, suggest use an ASCII charactor, such as 
   `>`


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-2004802330

   I think this is a good first issue for someone with a windows machine to test on


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "l1t1 (via GitHub)" <gi...@apache.org>.
l1t1 commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-2047587674

   could you attach the binary file?


-- 
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


Re: [I] datafusion-cli cursor isn't on the right position in windows 7 cmd [arrow-datafusion]

Posted by "colommar (via GitHub)" <gi...@apache.org>.
colommar commented on issue #9501:
URL: https://github.com/apache/arrow-datafusion/issues/9501#issuecomment-2046335576

   @alamb Hi! I have a windows machine and changed all those `❯` to `>`. Is this OK?
   And I wanna test if the change does work how can I rebuild the datafusion to update the change by using the command `datafusion-cli`


-- 
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