maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #12776
Re: Accessing read records during join for condition pushdown
-
To:
"maria-developers@xxxxxxxxxxxxxxxxxxx" <maria-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
"Berrocal, Eduardo" <eduardo.berrocal@xxxxxxxxx>
-
Date:
Thu, 8 Jul 2021 07:20:34 +0000
-
Accept-language:
en-US
-
Arc-authentication-results:
i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
-
Arc-message-signature:
i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1ilGbx+PB/Wys1rlnBDqQFNRmIbxfewd1AGIL3OR1Pc=; b=ZgYYz16JI+hRtBETg0NgifZket/186tw581IPemm03U6FqFNWBBkznVjgqbPh6Wc4PGA4/N9bp5gAqGH702M2B4O1Q1ZT0/15lrxAQlqqIUpkUyjXsDoEXgW3YvotKstcl7YW2JbjE7bgm5kEMy/54y87mrAUY3nLzJc2F0zvD53ZGF/XGcfFt46dk1YgruVfxmExX37C6RUVYBGxBsuBhGP3MEdewGawGelEHL067RYfNOd/auDfJ4jFWYAYnQrFfJxDgP7jPLqSubQUIRDepvYGssWq04CQdP8l47EfrVrA0o+WiujRk+/RD0eg2or+6nM/kLcd9twrwD2aF827A==
-
Arc-seal:
i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=almscYHVOJ9a06AiXpJMiVrNa6FMyRtU6h6CXfj6+6EAznYaiqbZ4d+IrHfpRIAcOrCsxWXg4awbbq9m91WWCS5MEGFo71fjE3ERa+f3wMX23lgHEcs2eQC9kDvVAS+KtR/ZHYaOj+nDajWsQeQLdQCf4z6JddegQRHyNe+vtsZzF7mfNlAhsE3heR0ba97qHNtElsdLY5lWSSIG4XVxGow4b9282BJIOAhAtQLzJ5IqcyOEVhYWKLoy8gLVdwHFwuD2SMsGhn/WcprsldN9HhsjHNQXNB8YvpqSL4SXWsgvYWk8zzLHOfEx16266YgUi7MKYGE8IY7SK1lhnpcXcA==
-
Authentication-results:
lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=none action=none header.from=intel.com;
-
Dlp-product:
dlpe-windows
-
Dlp-reaction:
no-action
-
Dlp-version:
11.5.1.3
-
In-reply-to:
<CO1PR11MB4770569A91EA19E2024350EA8B1B9@CO1PR11MB4770.namprd11.prod.outlook.com>
-
Thread-index:
AQHXc8m+fTLF10MfkU2BX+QyksLTqQ==
-
Thread-topic:
[Maria-developers] Accessing read records during join for condition pushdown
My own digging here and there reveals me that the data I am looking for resides inside a JOIN_CACHE object inside a JOIN_TAB.
However, it seems that the data can't be accessed unless some fields and methods are moved from protected to public in the class. Am I right here? Is there other (easier) way to accomplish what I am trying to do? (to recap: access "on the fly" records during a JOIN so that I can use that data for condition pushdown).
Thanks,
From: Maria-developers <maria-developers-bounces+eduardo.berrocal=intel.com@xxxxxxxxxxxxxxxxxxx> On Behalf Of Berrocal, Eduardo
Sent: Tuesday, July 6, 2021 4:13 PM
To: maria-developers@xxxxxxxxxxxxxxxxxxx
Subject: [Maria-developers] Accessing read records during join for condition pushdown
Hello list (first email here, hopefully sending it to the right address),
I have been trying to solve this problem for a while now, and I am stuck. I wonder if what I am trying to do is even possible.
I am implementing a new storage engine which handles engine condition pushdown. Now, when MariaDB is working on a JOIN using more than one table (for simplicity, let's assume 2), how can I access the read records for table 1 when working on a condition pushdown for table 2? When joining like this: table1.field1 = table2.field1, I can see 2 Item objects of type FIELD in the condition. However, I can't find where the read records for table1 are so I can effectively filter records in table2 by those values.
Thanks a lot for your help,
[A close up of a sign Description automatically generated]
Eduardo Berrocal García de Carellán
Senior Software Engineer
Intel Corporation | intel.com<http://intel.com/>
References