When using Phoenix client (sqlline.py), all works as expected, but using phoenixdb I have strange behaviors:
When calling "UPSERT INTO public.object_tracker(object_path) VALUES (?)" and pass some string, in database there only appears key with first character from long string. "evolution" will store "e" in HBase.
No error is thrown
Its even more tricky. When I try to insert VARCHAR (PK) and TIMESTAMP type via
statement = "UPSERT INTO public.object_tracker(object_path,ready_to_process) VALUES (?,?)"
and do:
cursor.execute(statement, (obj.object_full_path, datetime.now())) it didn't wrote anything into database....
And now for the end I did in phoenix cli "Delete from table" and tried via phoenixdb same upserts and now it works :-), not sure if scenario is reproducible and if it is issue in phoenix or elsewhere in hadoop infra.
I am having strange issue. I have table primary key VARCHAR and some data TIMESTAMPS:
When using Phoenix client (sqlline.py), all works as expected, but using phoenixdb I have strange behaviors:
When calling "UPSERT INTO public.object_tracker(object_path) VALUES (?)" and pass some string, in database there only appears key with first character from long string. "evolution" will store "e" in HBase. No error is thrown
Its even more tricky. When I try to insert VARCHAR (PK) and TIMESTAMP type via
statement = "UPSERT INTO public.object_tracker(object_path,ready_to_process) VALUES (?,?)"
and do:cursor.execute(statement, (obj.object_full_path, datetime.now()))
it didn't wrote anything into database....And now for the end I did in phoenix cli "Delete from table" and tried via phoenixdb same upserts and now it works :-), not sure if scenario is reproducible and if it is issue in phoenix or elsewhere in hadoop infra.