airpal icon indicating copy to clipboard operation
airpal copied to clipboard

airpal how to use mysql catalog

Open Zebjia opened this issue 9 years ago • 3 comments

i build airpal but my presto working on mysql but airpal still work on hive so presto get error

SELECT table_catalog, table_schema, table_name FROM information_schema.tables WHERE table_catalog = 'hive'

i want change table_catalog ='myqsl' and i search everywhere can't find this Parameter

Zebjia avatar Nov 18 '15 03:11 Zebjia

i read the #100 and it worked but there is another question date preview still use catalog = hive
i change the private String prestoCatalog = "mysql"; and this part is doesn't work

Zebjia avatar Nov 18 '15 03:11 Zebjia

At your reference.yml set prestoCatalog: mysql

picharras avatar Dec 08 '15 19:12 picharras

It did work as @picharras said. I test it with Presto 0.103

ictlyh avatar Jan 19 '16 07:01 ictlyh