I do a simple test for Vertica:
ha=> insert into test(Name, City) values( 'Nan', 'Nanjing'); OUTPUT -------- 1 (1 row) ha=> select node_name, wos_row_count, ros_row_count from projection_storage where anchor_table_name = 'test'; node_name | wos_row_count | ros_row_count ---------------+---------------+--------------- v_ha_node0001 | 1 | 3 (1 row) ha=> select * from test; ID | Name | City --------+------+--------- 250001 | Nan | Nanjing 250002 | Nan | Nanjing 250003 | Nan | Nanjing 250004 | Nan | Nanjing (4 rows)
The select operation displays OK (the data in WOS and ROSall display).
Then I write a simple program which uses ODBC:
ret = SQLExecDirect(stmt_handle, (SQLCHAR*)"select * from test", SQL_NTS); if (!SQL_SUCCEEDED(ret)) { printf("Execute statement failed\n"); goto ERR; } while ((ret = SQLFetch(stmt_handle)) == SQL_SUCCESS) { row_num++; } printf("Row number is %d\n", row_num); But the result is:
Row number is 3
It doesn’t count the data in WOS.
And the DbVisualizer also displays 3 rows of data: 
ODBC? Thanks very much in advance!