Products
KDB-X
Next-gen kdb+ for real-time, historical, and AI apps, providing fast analytics across all data with q, Python, and SQL.
Explore → Documentation
KDB.AI
Vector database optimized for unstructured and time-series data.
Insights Enterprise
Low-code integrated, scalable data management & analytics.
Insights SDK
Developer toolkit for creating custom time series analytics applications.
Delta
Integrated platform for enterprise-scale, high-security data management and analytics.
Add-ons Overview
Dashboards
Custom interactive data visualization tool to query, transform, share and present live data insights.
VS Code Extension
Extension to create and edit q files, connect to multiple data processes, and execute queries.
Accelerators
Pre-built, customizable solutions for faster data projects.
https://learninghub.kx.com/forums/topic/store-array-of-bytes-in-a-table-column
I have a table like t:([] k:symbol$(); v:byte$()). The size of column v is 1 here. As per the documentation this corresponds to JAVA Byte. How can we store a byte array Byte[]?
symbol$(); v:
q does not have a type for lists of lists so you use the generic untyped list ()
q)tab:([] bytesCol:())q)`tab insert enlist (0x0021;0x0002232)0 1q)tabbytesCol----------0x00210x00002232q)meta tabc | t f a--------| -----bytesCol| Xq)type tab`bytesCol0h
Exactly what I was looking for. Thanks ?