Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

查询仅返回4096行数据 #245

Open
JavenJin opened this issue Feb 16, 2023 · 0 comments
Open

查询仅返回4096行数据 #245

JavenJin opened this issue Feb 16, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@JavenJin
Copy link

TDengine版本:3.0.2.4
sql:select * from meters limit 1000000

使用如下代码查询

static void Main(string[] args)
{
	var connectionStringBuilder = new TaosConnectionStringBuilder
	{
		DataSource = "10.32.3.33",
		Port = 6041,
		Username = "root",
		Password = "taosdata",
		DataBase = "test"
	};
	connectionStringBuilder.UseWebSocket();
	using var connection = new TaosConnection(connectionStringBuilder.ConnectionString);
	connection.Open();
	using var command = connection.CreateCommand();
	command.CommandText = "select * from meters limit 1000000";
	var reader = command.ExecuteReader();
	var result = reader.ToDataTable();
	Console.WriteLine(result.Rows.Count); // print 4096
}

返回数据行只有4096?

maikebing added a commit that referenced this issue Jul 4, 2023
@maikebing maikebing added the bug Something isn't working label Jul 4, 2023
@maikebing maikebing mentioned this issue Jul 4, 2023
7 tasks
sangshuduo added a commit that referenced this issue Jul 12, 2023
查询仅返回4096行数据 #245
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants