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

Fix return value of fetch schmea with incorrect template info #12515

Merged
merged 1 commit into from May 13, 2024

Conversation

Cpaulyz
Copy link
Contributor

@Cpaulyz Cpaulyz commented May 13, 2024

Description

Reproduce

create device template t1 aligned (attr BOOLEAN, fuel_state DOUBLE, current_load INT32, status INT32);
create database root.template;
set device template t1 to root.template;
create timeseries using device template on root.template.d1;
insert into root.template.d1(time,status) aligned values(1,1);

then

select status from root.template.d1 where status <= 1 align by device;

return value of fetch schema should include hasNormalTimeSeries=false because all time series is template series

img_v3_02ap_1cc5238b-6975-4104-831b-4b00b7cfdecg

@Cpaulyz Cpaulyz marked this pull request as ready for review May 13, 2024 01:47
@JackieTien97 JackieTien97 merged commit 234dab7 into apache:master May 13, 2024
56 of 57 checks passed
@Cpaulyz Cpaulyz deleted the fix_fetch_template branch May 13, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants