[ 
https://issues.apache.org/jira/browse/PHOENIX-5656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005826#comment-17005826
 ] 

Lars Hofhansl commented on PHOENIX-5656:
----------------------------------------

Here's a minimal patch that at least make sqlline.py work for me again. Parking 
it here, there's probably more to do.

Python 3 retired the print statement in favor of the print() function, and 
dict.has_key has been removed.

Using the + syntax for strings works in both Python 2 and 3, and the  in  is 
also available in both.

> Make Phoenix scripts work with Python 3
> ---------------------------------------
>
>                 Key: PHOENIX-5656
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5656
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>            Priority: Major
>         Attachments: 5656-4.x-HBase-1.5.txt
>
>
> Python 2 is being retired in some environments now. We should make sure that 
> the Phoenix scripts work with Python 2 and 3.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to