Skip to main content

Vector Data Import

The process of importing vector data is similar to importing data into a regular heap table. You can use either the INSERT syntax or the COPY syntax.

This document provides an example using the INSERT syntax:

-- The vector column is represented as a string in floating-point JSON array format
INSERT INTO docs VALUES (default, 'xxx', '2023-05-04', 'aaa.bbb.ccc/xxx.pdf',
'[0.1, 0.2, 0.1, 0.3, ... 0.9]');