:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(data-warehouse): explain CSV quote handling in self-managed source form (#73051)
Tom Owers61309ed8e9e3
diff --git a/products/data_warehouse/frontend/scenes/NewSourceScene/components/SelfManagedSourceForm.tsx b/products/data_warehouse/frontend/scenes/NewSourceScene/components/SelfManagedSourceForm.tsxindex adee3386e9a7..3a10ff90e346 100644--- a/products/data_warehouse/frontend/scenes/NewSourceScene/components/SelfManagedSourceForm.tsx+++ b/products/data_warehouse/frontend/scenes/NewSourceScene/components/SelfManagedSourceForm.tsx@@ -120,23 +120,30 @@ export function SelfManagedSourceForm({ onUpdate }: Props): JSX.Element {)}</LemonField>{isCsvFormat && (- <LemonField- name={['options', 'csv_allow_double_quotes']}- label="CSV quote handling"- className="mb-4 w-max"- >- {({ value, onChange }) => (- <LemonSelect- data-attr="csv-quote-handling"- options={[- { label: 'RFC 4180 double quotes', value: true },- { label: 'Literal quotes', value: false },- ]}- value={value ?? false}- onChange={onChange}- />- )}- </LemonField>+ <>+ <LemonField+ name={['options', 'csv_allow_double_quotes']}+ label="CSV quote handling"+ className="w-max"+ >+ {({ value, onChange }) => (+ <LemonSelect+ data-attr="csv-quote-handling"+ options={[+ { label: 'RFC 4180 double quotes', value: true },+ { label: 'Literal quotes', value: false },+ ]}+ value={value ?? false}+ onChange={onChange}+ />+ )}+ </LemonField>+ <div className="mb-4 text-xs text-secondary">+ Pick RFC 4180 if your CSV wraps values in double quotes (the usual way to keep commas inside+ a field). If import fails with a column count mismatch, switching to RFC 4180 usually fixes+ it.+ </div>+ </>)}<LemonField name={['credential', 'access_key']} label={ProviderMappings[provider].accessKeyLabel}>{({ value = '', onChange }) => (