Import data

After you create a Cassandra table, import data to set up DSE Search for the tutorial.


  1. Copy the cqlsh COPY command from the downloaded copy_nhanes.cql file.
  2. Paste the COPY command on the cqlsh command line, but do not run the command yet.
  3. Change the FROM clause to match the path to /solr_tutorial46/nhanes52.csv that you downloaded to your computer, and then run the command.
    This action imports the data from the CSV file into the nhanes table in Cassandra. Output is:
    20050 rows imported in 27.524 seconds.