code: @Given("^I create a Cassandra table named '(.+?)' using keyspace '(.+?)' with:$")
      public void createTableWithData(String table, String keyspace, DataTable datatable) {
          try {
              commonspec.getCassandraClient().useKeyspace(keyspace);
              int attrLength = datatable.getPickleRows().get(0).getCells().size();
              Map<String, String> columns = new HashMap<String, String>();
              ArrayList<String> pk = new ArrayList<String>();
  
              for (int i = 0; i < attrLength; i++) {
                  columns.put(datatable.getPickleRows().get(0).getCells().get(i).getValue(),
                          datatable.getPickleRows().get(1).getCells().get(i).getValue());
                  if ((datatable.getPickleRows().size() == 3) && datatable.getPickleRows().get(2).getCells().get(i).getValue().equalsIgnoreCase("PK")) {
                      pk.add(datatable.getPickleRows().get(0).getCells().get(i).getValue());
                  }
              }
              if (pk.isEmpty()) {
                  throw new Exception("A PK is needed");
              }
              commonspec.getCassandraClient().createTableWithData(table, columns, pk);
          } catch (Exception e) {
              commonspec.getLogger().debug("Exception captured");
              commonspec.getLogger().debug(e.toString());
              commonspec.getExceptions().add(e);
          }
      }
docs: Create table
  
  @param table     Cassandra table
  @param datatable datatable used for parsing elements
  @param keyspace  Cassandra keyspace