BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

Avoiding Data Loss When Loading Initial Data with CSV Files in CAP

cds add tiny-sample gives you a CSV in db/data and it loads on deploy, which looks like a way to seed a productive application. The catch, stated plainly: change the CSV or the schema and HANA is reinitialised from the file, taking whatever users had entered with it.

Where it sits

Explains
Seed dataCAPSeed datacapabilityGetting realistic data into a service so it can be developed and demonstrated — initial data, per-tenant content, and believable volumes for testing.
Source
reachable

Who is behind it

MioYasutakeauthor

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
8,812

What was found on the page

derived
Prose
derived
856 words
Code blocks
derived
12

For seed-data

on the edge
Applies in
authored
cap

More on this5

Group by
Piece, what it offersStill applies
Also explainingSeed data5
Handling CSV Data Deployment in CAP HDI Without Data Loss
SAP Community, Sekar_SomasundaramThe reasoningA recipeRunnable code
nothing recorded
Avoid design time CAP server restarts when maintaining local data files
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
ISO content for common CAP types
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
Add useful Extensions to Dev spaces in SAP Business Application Studio
SAP Community, showkath_naseemThe reasoning
nothing recorded
CAP: Consume External Service - Part 1
SAP Community, Jhodel Cailan, part 1 of 3
nothing recorded

Details

Graph3 edges
POINTS OUT →
explainsSeed datacapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History2
  • explains → applies_to on capability:seed-data (cap)Door scope proposed from the title and summary, so a door page lists the piece only where it holds (docs/concepts/content-on-doors.md).
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:avoiding-data-loss-when-loading-initial-data-with-csv-files
JSON
/content/avoiding-data-loss-when-loading-initial-data-with-csv-files.json
MCP
Connecting an agent