<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: CAP: SQLite deploy error about csv location in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472752#M4672575</link>
    <description>&lt;P&gt;What about '&lt;EM&gt;&lt;STRONG&gt;db/src/csv'?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jul 2021 10:56:06 GMT</pubDate>
    <dc:creator>alicegavanelli</dc:creator>
    <dc:date>2021-07-21T10:56:06Z</dc:date>
    <item>
      <title>CAP: SQLite deploy error about csv location</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaq-p/12472747</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;
  &lt;P&gt;reading CAP documentation about deploy &lt;A href="https://cap.cloud.sap/docs/guides/databases#providing-initial-data"&gt;providing-initial-data&lt;/A&gt; I noticed that csv files, could be located in three different folders: &lt;EM&gt;db/csv, db/data&lt;/EM&gt;/, or &lt;EM&gt;db/src/csv&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;I have tryed with all of these, under the results:&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;db/csv -&amp;gt; OK&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;db/data -&amp;gt; OK&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;db/data&lt;/EM&gt;/other_folder -&amp;gt; &lt;STRONG&gt;KO&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;db/src/csv -&amp;gt; &lt;/EM&gt;&lt;STRONG&gt;KO&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;In documentation if I read db/data&lt;EM&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/EM&gt; with symbol "&lt;STRONG&gt;/&lt;/STRONG&gt;" I understand that I could add other underfolder. But it is not true. Is it an error?&lt;/P&gt;
  &lt;P&gt;Folder db/src/csv doesn't work despite documenation.&lt;/P&gt;
  &lt;P&gt;Below my release:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;@sap/cds: 5.0.6
@sap/cds-compiler: 2.4.4
@sap/cds-dk: 4.0.7
@sap/cds-foss: 2.3.1
@sap/cds-runtime: 3.0.9
Node.js: v14.16.0&amp;lt;br&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thank you in advance.&lt;/P&gt;
  &lt;P&gt;Best&lt;/P&gt;
  &lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 08:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaq-p/12472747</guid>
      <dc:creator>alicegavanelli</dc:creator>
      <dc:date>2021-07-16T08:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: CAP: SQLite deploy error about csv location</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472748#M4672571</link>
      <description>&lt;P&gt;what error you are getting? Can you share your folder structure of csv file?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 03:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472748#M4672571</guid>
      <dc:creator>former_member643578</dc:creator>
      <dc:date>2021-07-19T03:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: CAP: SQLite deploy error about csv location</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472749#M4672572</link>
      <description>&lt;P&gt;CSV files from subfolders of `db/data` or `db/csv` are not deployed by intention.&lt;/P&gt;&lt;P&gt;Please provide the link to the documentation where you think this would be stated differently.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 08:53:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472749#M4672572</guid>
      <dc:creator>chgeo</dc:creator>
      <dc:date>2021-07-19T08:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: CAP: SQLite deploy error about csv location</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472750#M4672573</link>
      <description>&lt;P&gt;Dear Christian,&lt;/P&gt;&lt;P&gt;as you can read in my post, link is already provided.&lt;/P&gt;&lt;P&gt;However I put it again &lt;A rel="nofollow" href="https://cap.cloud.sap/docs/guides/databases#providing-initial-data"&gt;Link to CAP documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;CSV files from subfolders of `&lt;STRONG&gt;db/data&lt;/STRONG&gt;` are documented in the link above; the&lt;B&gt; '/' &lt;/B&gt;could be a documenation misunderstanding.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;CSV files from subfolders of `&lt;STRONG&gt;db/csv&lt;/STRONG&gt;` are not documented and It is not my request.&lt;/P&gt;&lt;P&gt;I ask about '&lt;EM&gt;&lt;STRONG&gt;db/src/csv'&lt;/STRONG&gt;&lt;/EM&gt; that actually in documentation as you can see below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1957740-depoly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" style="color: inherit;" /&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 08:20:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472750#M4672573</guid>
      <dc:creator>alicegavanelli</dc:creator>
      <dc:date>2021-07-21T08:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: CAP: SQLite deploy error about csv location</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472751#M4672574</link>
      <description>&lt;P&gt;I see, you are confused by the trailing / in the documentation.  However, trailing slashes do usually not indicated sub folders (recursively even).  Normally, this would be indicated by ** globs or so.&lt;/P&gt;&lt;P&gt;But yes, we will remove the /&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 10:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472751#M4672574</guid>
      <dc:creator>chgeo</dc:creator>
      <dc:date>2021-07-21T10:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: CAP: SQLite deploy error about csv location</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472752#M4672575</link>
      <description>&lt;P&gt;What about '&lt;EM&gt;&lt;STRONG&gt;db/src/csv'?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 10:56:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472752#M4672575</guid>
      <dc:creator>alicegavanelli</dc:creator>
      <dc:date>2021-07-21T10:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: CAP: SQLite deploy error about csv location</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472753#M4672576</link>
      <description>&lt;P&gt;Dear Christian,&lt;/P&gt;&lt;P&gt;What about '&lt;EM&gt;&lt;STRONG&gt;db/src/csv'?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 08:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472753#M4672576</guid>
      <dc:creator>alicegavanelli</dc:creator>
      <dc:date>2021-07-28T08:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: CAP: SQLite deploy error about csv location</title>
      <link>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472754#M4672577</link>
      <description>&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;valid question. I think our documentation is not clear enough at that end. The csv files are only picked up for models located in the parent folder. And in the &lt;EM&gt;db/src/csv&lt;/EM&gt; case it's a little bit special, because usually only native database artifacts are located there. Most probably SAP HANA artifacts. So from the &lt;EM&gt;db/src/csv&lt;/EM&gt; folder, no initial data is fetched for &lt;EM&gt;.cds&lt;/EM&gt; files located in the &lt;EM&gt;db&lt;/EM&gt; folder.&lt;/P&gt;&lt;P&gt;Hope that helps. And I'll trigger an update to our documentation.&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;René&lt;/P&gt;</description>
      <pubDate>Mon, 02 Aug 2021 15:57:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cap-sqlite-deploy-error-about-csv-location/qaa-p/12472754#M4672577</guid>
      <dc:creator>Ren</dc:creator>
      <dc:date>2021-08-02T15:57:05Z</dc:date>
    </item>
  </channel>
</rss>

