Skip to main content
Question

C++ API for flex table raw format access

  • August 14, 2025
  • 3 replies
  • 5 views

scherepanov
Forum|alt.badge.img+1

Hi,

Users complained for poor performance of one query on flex table. Problem is caused by data manipulations that cannot be optimally expressed in SQL.
I can easily address issue by writing c++ UDx function that take raw flex data and do whatever user wants.
This would be a very specialised function useful only for very small group of users.
Problem is that Vertica is not disclosing raw format and do not provide c++ API for raw access.

It would not a be a big deal to look on binary format of raw and reverse engineer it.

On other thought, I should not do it. Information and support for access better come officially from Vertica.

Question - can Vertica disclose raw format, or better provide c++ API for access.
I would ask for some simple c++ API for raw access:
1) list all keys in raw
2) get value for key
3) get nested raw for key.

Please ask Vertica Engineering, will they be willing to disclose raw format and/or provide c++ API.

Thank you
Sergey

3 replies

scherepanov
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • August 15, 2025

@mosheg can you comment?


Bryan_H
Forum|alt.badge.img+2
  • Participating Frequently
  • August 20, 2025

scherepanov
Forum|alt.badge.img+1
  • Author
  • Participating Frequently
  • September 4, 2025

@Bryan_H thank you, this is exactly what I am looking for,