<?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>topic Re: Import CSV to CAS via the web interface does not detect dates in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/642660#M21876</link>
    <description>Hi I encounter the same issues as yours, have you solve it? Mind to share on how you tackle the issue. Thank you</description>
    <pubDate>Fri, 24 Apr 2020 16:33:49 GMT</pubDate>
    <dc:creator>Aiman</dc:creator>
    <dc:date>2020-04-24T16:33:49Z</dc:date>
    <item>
      <title>Import CSV to CAS via the web interface does not detect dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/528277#M5383</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a very simple CSV file:&lt;/P&gt;&lt;P&gt;id,date&lt;/P&gt;&lt;P&gt;1,01-08-2018&lt;/P&gt;&lt;P&gt;2,03-08-2018&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when&amp;nbsp;I import the CSV file via the "Add data source" option in Visual Analytics then the date column is always detected as a "char".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a few requirements that makes it impossible for me to manipulate the data after import:&lt;/P&gt;&lt;P&gt;1. I need the data to be imported automatically via a scheduled job.&lt;/P&gt;&lt;P&gt;2. I don't want to use Parse to convert the char to a date type because the size of the data is very large and I don't want the report to get slowed down by Parse when a user interacts with it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have full control on exporting the csv contents so I can at least change the date format written inside the CSV file. I tried to change the date to many different formats and I repeated the import process but the end result is always a char data type instead of date type. Do you have any idea how to import this CSV file so that the date is correctly detected?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Visual Analytics 8.3.1 if that matters.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 09:41:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/528277#M5383</guid>
      <dc:creator>farshidhss</dc:creator>
      <dc:date>2019-01-18T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Import CSV to CAS via the web interface does not detect dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/528359#M5408</link>
      <description>&lt;P&gt;Use a data plan to convert the data as it's loaded, or part of the 'scheduled job' to load data can often include a transformation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you're using&amp;nbsp;a scheduled job, sounds like a server though, so why not have VA connect directly to the server instead which should import the data correctly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/246850"&gt;@farshidhss&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a very simple CSV file:&lt;/P&gt;
&lt;P&gt;id,date&lt;/P&gt;
&lt;P&gt;1,01-08-2018&lt;/P&gt;
&lt;P&gt;2,03-08-2018&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is when&amp;nbsp;I import the CSV file via the "Add data source" option in Visual Analytics then the date column is always detected as a "char".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a few requirements that makes it impossible for me to manipulate the data after import:&lt;/P&gt;
&lt;P&gt;1. I need the data to be imported automatically via a scheduled job.&lt;/P&gt;
&lt;P&gt;2. I don't want to use Parse to convert the char to a date type because the size of the data is very large and I don't want the report to get slowed down by Parse when a user interacts with it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have full control on exporting the csv contents so I can at least change the date format written inside the CSV file. I tried to change the date to many different formats and I repeated the import process but the end result is always a char data type instead of date type. Do you have any idea how to import this CSV file so that the date is correctly detected?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using Visual Analytics 8.3.1 if that matters.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 16:18:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/528359#M5408</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-18T16:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Import CSV to CAS via the web interface does not detect dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/528997#M5518</link>
      <description>Thanks for your reply. How do we transform data at the same time as the import? I can't seem to find any information on that. I did find that you can create a data plan job to transform data and write into another sas table but don't know how to add the data import to the same job.&lt;BR /&gt;&lt;BR /&gt;Yes we do have a VA server, and we would love to connect it directly to our backend but I don't know how this can be done. We use Java spring in the backend.</description>
      <pubDate>Tue, 22 Jan 2019 08:32:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/528997#M5518</guid>
      <dc:creator>farshidhss</dc:creator>
      <dc:date>2019-01-22T08:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Import CSV to CAS via the web interface does not detect dates</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/642660#M21876</link>
      <description>Hi I encounter the same issues as yours, have you solve it? Mind to share on how you tackle the issue. Thank you</description>
      <pubDate>Fri, 24 Apr 2020 16:33:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Import-CSV-to-CAS-via-the-web-interface-does-not-detect-dates/m-p/642660#M21876</guid>
      <dc:creator>Aiman</dc:creator>
      <dc:date>2020-04-24T16:33:49Z</dc:date>
    </item>
  </channel>
</rss>

